mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-25 00:03:40 +00:00
16 lines
369 B
Makefile
16 lines
369 B
Makefile
CXX = clang++
|
|
CXXFLAGS = -O2 -march=native -Wall -std=c++17
|
|
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 $@
|