-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.win
34 lines (26 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
# Project: NextDate
# Makefile created by Dev-C++ 5.7.1
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = gtest_main.o nextdate.o nexdate_unittest.o
LINKOBJ = gtest_main.o nextdate.o nexdate_unittest.o
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -lgtest -pg
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++"
BIN = NextDate.exe
CXXFLAGS = $(CXXINCS) -pg
CFLAGS = $(INCS) -pg
RM = rm.exe -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) $(LINKOBJ) -o $(BIN) $(LIBS)
gtest_main.o: gtest_main.cc
$(CPP) -c gtest_main.cc -o gtest_main.o $(CXXFLAGS)
nextdate.o: nextdate.cc
$(CPP) -c nextdate.cc -o nextdate.o $(CXXFLAGS)
nexdate_unittest.o: nexdate_unittest.cc
$(CPP) -c nexdate_unittest.cc -o nexdate_unittest.o $(CXXFLAGS)