add json parsing of lists and maps
This commit is contained in:
parent
7471093f67
commit
025c8125fa
16 changed files with 210 additions and 20 deletions
7
makefile
7
makefile
|
@ -3,11 +3,18 @@ CFLAGS += -g -Wall -Werror -pedantic -ansi
|
|||
all: planarbot inputfile
|
||||
valgrind ./planarbot < inputfile
|
||||
|
||||
test: echojson
|
||||
find jsontest -type f -exec valgrind ./echojson \{\} \;
|
||||
|
||||
planarbot: planarbot.o arraylist.o sortedmap.o json.o
|
||||
planarbot.o: arraylist.h
|
||||
arraylist.o: arraylist.h
|
||||
sortedmap.o: sortedmap.h
|
||||
json.o: json.h arraylist.h sortedmap.h
|
||||
echojson: echojson.o json.o arraylist.o sortedmap.o
|
||||
echojson.o: json.h
|
||||
|
||||
clean:
|
||||
rm -f *.o planarbot
|
||||
|
||||
.PHONY: all clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue