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