This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-06 15:40:12 -05:00
parent a4f7212753
commit 2dde7d4ed6

View file

@ -1,5 +1,5 @@
CXX = clang++ CXX = clang++
CXXFLAGS = -O2 -march=native -std=c++17 CXXFLAGS = -O2 -march=native -std=c++17 -I./3rdparty/jsoncpp/include
CourseOfferingsScraper: CourseOfferingsScraper.cpp json.o CourseOfferingsScraper: CourseOfferingsScraper.cpp json.o
@ -9,7 +9,6 @@ json.o: 3rdparty/jsoncpp/dist/jsoncpp.cpp
3rdparty/jsoncpp/dist/jsoncpp.cpp: 3rdparty/jsoncpp/dist/jsoncpp.cpp:
git submodule update --init git submodule update --init
cd 3rdparty/jsoncpp; ./amalgamate.py cd 3rdparty/jsoncpp; ./amalgamate.py
find .
%.o: %.cpp %.hpp %.o: %.cpp %.hpp
$(CXX) $(CXXFLAGS) $? -o $@ $(CXX) $(CXXFLAGS) $? -o $@