-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
37 lines (28 loc) · 1.4 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
# Project: GaluhEmpire
# Makefile created by Embarcadero Dev-C++ 6.3
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = main.o DinamicNonBinaryTree.o Help.o Welcome.o
LINKOBJ = main.o DinamicNonBinaryTree.o Help.o Welcome.o
LIBS = -L"D:/DevC++/Dev-Cpp/TDM-GCC-64/lib" -L"D:/DevC++/Dev-Cpp/TDM-GCC-64/x86_64-w64-mingw32/lib" -static-libgcc
INCS = -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/include" -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/x86_64-w64-mingw32/include" -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/9.2.0/include"
CXXINCS = -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/include" -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/x86_64-w64-mingw32/include" -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/9.2.0/include" -I"D:/DevC++/Dev-Cpp/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++"
BIN = GaluhEmpire.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
DEL = D:\DevC++\Dev-Cpp\DevCpp.exe INTERNAL_DEL
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
${DEL} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
DinamicNonBinaryTree.o: DinamicNonBinaryTree.cpp
$(CPP) -c DinamicNonBinaryTree.cpp -o DinamicNonBinaryTree.o $(CXXFLAGS)
Help.o: Help.cpp
$(CPP) -c Help.cpp -o Help.o $(CXXFLAGS)
Welcome.o: Welcome.cpp
$(CPP) -c Welcome.cpp -o Welcome.o $(CXXFLAGS)