-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (35 loc) · 1.16 KB
/
Makefile
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
# Attempt to load a config.make file.
# If none is found, project defaults in config.project.make will be used.
ifneq ($(wildcard config.make),)
include config.make
endif
# make sure the the OF_ROOT location is defined
ifndef OF_ROOT
OF_ROOT=$(realpath ../../../../../../Downloads/of_v0.9.8_osx_release)
endif
# call the project makefile!
include $(OF_ROOT)/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk
CXX2 = clang++
CXXFLAG2 = -std=c++11 -c -g -O0 -Wall -Wextra
LD2 = clang++
LDFLAG2 = -std=c++11
CXX2 = clang++
CXXFLAG2 = -std=c++11 -c -g -O0 -Wall -Wextra
LD2 = clang++
LDFLAG2 = -std=c++11
testing: data_test.o test_main.o DataFrame.o CSVReader.o Course.o SemesterClass.o
$(LD2) $^ $(LDFLAG2) -o $@
data_test.o: test/data_test.cpp src/*.h
$(CXX2) $< $(CXXFLAG2)
test_main.o: test/test_main.cpp src/*.h
$(CXX2) $< $(CXXFLAG2)
DataFrame.o: src/DataFrame.cpp
$(CXX2) $^ $(CXXFLAG2) -o DataFrame.o
CSVReader.o: src/CSVReader.cpp
$(CXX2) $^ $(CXXFLAG2) -o CSVReader.o
Course.o: src/Course.cpp
$(CXX2) $^ $(CXXFLAG2) -o Course.o
SemesterClass.o: src/SemesterClass.cpp
$(CXX2) $^ $(CXXFLAG2) -o SemesterClass.o
testclean:
rm -rf *.o