quatalog-scraper/bin/Makefile
3eef8a28f26fb2bcc514e6f1938929a1f931762 0393b0b66b Makefile chaos
2023-02-06 17:09:35 -05:00

16 lines
400 B
Makefile

CXX = clang++
CXXFLAGS = -O2 -march=native -Wall -std=c++17 -I../3rdparty/jsoncpp/dist/
vpath %.cpp ../src
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
%.o: %.cpp %.hpp
$(CXX) $(CXXFLAGS) $? -o $@