Makefile fix (hopefully)

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-06 16:37:06 -05:00
parent 320be9defd
commit 9ff41c8131
4 changed files with 5 additions and 3 deletions

BIN
bin/CourseOfferingsScraper Executable file

Binary file not shown.

View file

@ -1,12 +1,13 @@
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
json.o: ../3rdparty/jsoncpp/dist/jsoncpp.cpp
$(CXX) -c $(CXXFLAGS) $? -o $@
3rdparty/jsoncpp/dist/jsoncpp.cpp:
../3rdparty/jsoncpp/dist/jsoncpp.cpp:
git submodule update --init
cd 3rdparty/jsoncpp; ./amalgamate.py

BIN
bin/json.o Normal file

Binary file not shown.

View file

@ -4,7 +4,8 @@
#include<iostream>
#include<filesystem>
#include<unordered_set>
#include"3rdparty/jsoncpp/include/json/json.h"
#include<json/json.h>
namespace fs = std::filesystem;
struct quatalog_data_t {