mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-08 16:14:24 +00:00
15 lines
342 B
Makefile
15 lines
342 B
Makefile
CXX = clang++
|
|
CXXFLAGS = -O2 -march=native -std=c++17 -I.
|
|
|
|
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 $@
|