Reorganise and start working on the json parser
This commit is contained in:
16
haversine_02/compile
Normal file
16
haversine_02/compile
Normal 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)
|
||||
Reference in New Issue
Block a user