Merge pull request #1 from Phantop/main

Add Makefile
This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-04 20:07:26 -05:00 committed by GitHub
commit cdddf8d602
1 changed files with 11 additions and 0 deletions

11
Makefile Normal file
View File

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