Reorganise and start working on the json parser

This commit is contained in:
2023-06-11 02:14:41 +01:00
parent 5ff93f61d7
commit c75e51aa3e
15 changed files with 69 additions and 10 deletions

16
haversine_02/compile Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
CC=clang++
CFLAGS="-g -Wall -Wextra -Iinclude"
# generator
GENSRC="./src/argparser.cpp ./src/generator.cpp ./src/haversine.cpp ./src/point_types.cpp ./src/genmain.cpp"
GENOUT=genhavr
(set -x ; $CC $CFLAGS $GENSRC -o $GENOUT)
# json parser
JSONSRC="./src/jsonparse.cpp"
JSONOUT=jsonparse
(set -x ; $CC $CFLAGS $JSONSRC -o $JSONOUT)