add json printing and parsing (of strings)
This commit is contained in:
parent
563b1b0c5a
commit
a13c6ecb3a
6 changed files with 277 additions and 81 deletions
3
makefile
3
makefile
|
@ -3,10 +3,11 @@ CFLAGS += -g -Wall -Werror -pedantic -ansi
|
|||
all: planarbot inputfile
|
||||
valgrind ./planarbot < inputfile
|
||||
|
||||
planarbot: planarbot.o arraylist.o sortedmap.o
|
||||
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
|
||||
|
||||
clean:
|
||||
rm -f *.o planarbot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue