-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
54 lines (38 loc) · 1.49 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
47
48
49
50
51
52
53
54
# Project: Tank
# Makefile created by Dev-C++ 5.5.3
CPP = "D:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe"
OBJ = collision.o control.o draw.o main.o message.o rect.o tank.o material.o\
3ds.o ai.o effects.o
LIBS = -L"D:\Program Files (x86)\Dev-Cpp\MinGW64\mingw64\lib" \
-static-libgcc -mwindows -lwinmm -lglut64 -lopengl32 -lglu32 -lstb -l3ds
INCS = -I "D:\Doc\cpp\include" -I "D:\Program Files (x86)\Dev-Cpp\include"
BIN = Tank.exe
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(OBJ) -o $(BIN) $(LIBS)
collision.o: collision.cpp collision.h
$(CPP) -c $< -o $@ $(INCS)
control.o: control.cpp control.h rect.h message.h
$(CPP) -c $< -o $@ $(INCS)
draw.o: draw.cpp draw.h effects.h
$(CPP) -c $< -o $@ $(INCS)
main.o: main.cpp main.h tank.h collision.h draw.h control.h ai.h effects.h
$(CPP) -c $< -o $@ $(INCS)
message.o: message.cpp message.h tank.h effects.h draw.h
$(CPP) -c $< -o $@ $(INCS)
rect.o: rect.cpp rect.h
$(CPP) -c $< -o $@ $(INCS)
tank.o: tank.cpp tank.h collision.h rect.h message.h effects.h
$(CPP) -c $< -o $@ $(INCS)
material.o: material.cpp material.h
$(CPP) -c $< -o $@ $(INCS)
3ds.o: 3ds.cpp 3ds.h
$(CPP) -c $< -o $@ $(INCS)
ai.o: ai.cpp ai.h control.h tank.h collision.h main.h
$(CPP) -c $< -o $@ $(INCS)
effects.o: effects.cpp effects.h
$(CPP) -c $< -o $@ $(INCS)