-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.win
More file actions
36 lines (27 loc) · 1.06 KB
/
Copy pathMakefile.win
File metadata and controls
36 lines (27 loc) · 1.06 KB
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
# Project: Week6
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = Shearing.o ArbitraryReflection.o CohenSutherland.o $(RES)
LINKOBJ = Shearing.o ArbitraryReflection.o CohenSutherland.o $(RES)
LIBS = -L"lib" -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
INCS = -I"include"
CXXINCS = -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include"
BIN = Week6.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before Week6.exe all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Week6.exe" $(LIBS)
Shearing.o: Shearing.cpp
$(CPP) -c Shearing.cpp -o Shearing.o $(CXXFLAGS)
ArbitraryReflection.o: ArbitraryReflection.cpp
$(CPP) -c ArbitraryReflection.cpp -o ArbitraryReflection.o $(CXXFLAGS)
CohenSutherland.o: CohenSutherland.cpp
$(CPP) -c CohenSutherland.cpp -o CohenSutherland.o $(CXXFLAGS)