You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
464 B
Makefile
21 lines
464 B
Makefile
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
|