Update Makefile

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-09 21:35:47 -05:00
parent bd6624c710
commit 9b7790960e
1 changed files with 5 additions and 0 deletions

View File

@ -2,8 +2,13 @@ CXX = clang++
CXXFLAGS = -O2 -march=native -Wall -std=c++17 -I../3rdparty/jsoncpp/dist/
vpath %.cpp ../src
.PHONY: all
all: CourseOfferingsScraper GenerateHtml
CourseOfferingsScraper: CourseOfferingsScraper.cpp json.o
GenerateHtml: GenerateHtml.cpp json.o
json.o: ../3rdparty/jsoncpp/dist/jsoncpp.cpp
$(CXX) -c $(CXXFLAGS) $? -o $@