This repository has been archived by the owner on Jan 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
46 lines (39 loc) · 2.11 KB
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Project: Szkielet
# Compiler: Default GCC compiler
# Compiler Type: MingW 3
# Makefile created by wxDev-C++ IDE 7.4.2.569 on 21.01.17 13:19
WXLIBNAME = wxmsw29u
CPP = g++.exe
CC = gcc.exe
WINDRES = "windres.exe"
OBJ = Objects/MingW/SzkieletApp.o Objects/MingW/SzkieletFrm.o Objects/MingW/Szkielet_private.res
LINKOBJ = "Objects/MingW/SzkieletApp.o" "Objects/MingW/SzkieletFrm.o" Objects/MingW/Szkielet_private.res
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/lib/wx/gcc_lib" -L"C:/Program Files (x86)/Dev-Cpp/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -mwindows -l$(WXLIBNAME) -l$(WXLIBNAME)_gl -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 -lopengl32
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"C:/Program Files (x86)/Dev-Cpp/" -I"C:/Program Files (x86)/Dev-Cpp/include/common"
RCINCS = --include-dir "C:/PROGRA~2/Dev-Cpp/include/common"
BIN = Output/MingW/Szkielet.exe
DEFINES = -D__WXMSW__ -D__GNUWIN32__ -D_UNICODE
CXXFLAGS = $(CXXINCS) $(DEFINES)
CFLAGS = $(INCS) $(DEFINES)
GPROF = gprof.exe
ifeq ($(OS),Windows_NT)
RM = del /Q
FixPath = $(subst /,\,$1)
else
RM = rm -f
FixPath = $1
endif
LINK = g++.exe
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
$(RM) $(call FixPath,$(LINKOBJ)) "$(call FixPath,$(BIN))"
$(BIN): $(OBJ)
$(LINK) $(LINKOBJ) -o "$(BIN)" $(LIBS)
Objects/MingW/SzkieletApp.o: $(GLOBALDEPS) SzkieletApp.cpp SzkieletApp.h SzkieletFrm.h
$(CPP) -c SzkieletApp.cpp -o Objects/MingW/SzkieletApp.o $(CXXFLAGS)
Objects/MingW/SzkieletFrm.o: $(GLOBALDEPS) SzkieletFrm.cpp SzkieletFrm.h
$(CPP) -c SzkieletFrm.cpp -o Objects/MingW/SzkieletFrm.o $(CXXFLAGS)
Objects/MingW/Szkielet_private.res: Objects/MingW/Szkielet_private.rc SzkieletApp.rc
$(WINDRES) --input-format=rc -o Objects/MingW/Szkielet_private.res $(RCINCS) Objects/MingW/SZKIEL~1.RC -O coff