mirror of
https://github.com/quatalog/quatalog.git
synced 2025-11-30 16:17:25 +00:00
Makefile fix (hopefully)
This commit is contained in:
parent
320be9defd
commit
9ff41c8131
BIN
bin/CourseOfferingsScraper
Executable file
BIN
bin/CourseOfferingsScraper
Executable file
Binary file not shown.
|
|
@ -1,12 +1,13 @@
|
||||||
CXX = clang++
|
CXX = clang++
|
||||||
CXXFLAGS = -O2 -march=native -Wall -std=c++17
|
CXXFLAGS = -O2 -march=native -Wall -std=c++17
|
||||||
|
vpath %.cpp ../src
|
||||||
|
|
||||||
CourseOfferingsScraper: CourseOfferingsScraper.cpp json.o
|
CourseOfferingsScraper: CourseOfferingsScraper.cpp json.o
|
||||||
|
|
||||||
json.o: 3rdparty/jsoncpp/dist/jsoncpp.cpp
|
json.o: ../3rdparty/jsoncpp/dist/jsoncpp.cpp
|
||||||
$(CXX) -c $(CXXFLAGS) $? -o $@
|
$(CXX) -c $(CXXFLAGS) $? -o $@
|
||||||
|
|
||||||
3rdparty/jsoncpp/dist/jsoncpp.cpp:
|
../3rdparty/jsoncpp/dist/jsoncpp.cpp:
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
cd 3rdparty/jsoncpp; ./amalgamate.py
|
cd 3rdparty/jsoncpp; ./amalgamate.py
|
||||||
|
|
||||||
BIN
bin/json.o
Normal file
BIN
bin/json.o
Normal file
Binary file not shown.
|
|
@ -4,7 +4,8 @@
|
||||||
#include<iostream>
|
#include<iostream>
|
||||||
#include<filesystem>
|
#include<filesystem>
|
||||||
#include<unordered_set>
|
#include<unordered_set>
|
||||||
#include"3rdparty/jsoncpp/include/json/json.h"
|
#include<json/json.h>
|
||||||
|
|
||||||
|
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
struct quatalog_data_t {
|
struct quatalog_data_t {
|
||||||
Loading…
Reference in a new issue