quatalog-scraper/Makefile
3eef8a28f26fb2bcc514e6f1938929a1f931762 a4f7212753 Debug
2023-02-06 15:35:27 -05:00

16 lines
346 B
Makefile

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