From 7b890afb1959f2c9a2a8ed36e5a54f224c60c4ee Mon Sep 17 00:00:00 2001 From: Phantop Date: Sat, 4 Feb 2023 20:07:03 -0500 Subject: [PATCH] Add Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..17dbaa8 --- /dev/null +++ b/Makefile @@ -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