-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.win
51 lines (37 loc) · 1.71 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
# Project: openglHouse
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = object/Main.o object/Color.o object/Vector.o object/Point.o object/Image.o object/House3D.o object/imageloader.o object/vec3f.o $(RES)
LINKOBJ = object/Main.o object/Color.o object/Vector.o object/Point.o object/Image.o object/House3D.o object/imageloader.o object/vec3f.o $(RES)
LIBS = -L"C:/Dev-Cpp/lib" lib/libglu32.a lib/libglut32.a lib/libopengl32.a
INCS = -I"C:/Dev-Cpp/include"
CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
BIN = openglHouse.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before openglHouse.exe all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "openglHouse.exe" $(LIBS)
object/Main.o: Main.cpp
$(CPP) -c Main.cpp -o object/Main.o $(CXXFLAGS)
object/Color.o: source/Color.cpp
$(CPP) -c source/Color.cpp -o object/Color.o $(CXXFLAGS)
object/Vector.o: source/Vector.cpp
$(CPP) -c source/Vector.cpp -o object/Vector.o $(CXXFLAGS)
object/Point.o: source/Point.cpp
$(CPP) -c source/Point.cpp -o object/Point.o $(CXXFLAGS)
object/Image.o: source/Image.c
$(CPP) -c source/Image.c -o object/Image.o $(CXXFLAGS)
object/House3D.o: source/House3D.cpp
$(CPP) -c source/House3D.cpp -o object/House3D.o $(CXXFLAGS)
object/imageloader.o: source/imageloader.cpp
$(CPP) -c source/imageloader.cpp -o object/imageloader.o $(CXXFLAGS)
object/vec3f.o: source/vec3f.cpp
$(CPP) -c source/vec3f.cpp -o object/vec3f.o $(CXXFLAGS)