2022-11-01 22:09:32 +01:00
|
|
|
CFLAGS += -g -Wall -Werror -pedantic -ansi
|
|
|
|
|
|
|
|
all: planarbot inputfile
|
|
|
|
valgrind ./planarbot < inputfile
|
|
|
|
|
2022-11-02 00:05:01 +01:00
|
|
|
planarbot: planarbot.o arraylist.o sortedmap.o json.o
|
2022-11-01 22:09:32 +01:00
|
|
|
planarbot.o: arraylist.h
|
|
|
|
arraylist.o: arraylist.h
|
|
|
|
sortedmap.o: sortedmap.h
|
2022-11-02 00:05:01 +01:00
|
|
|
json.o: json.h arraylist.h sortedmap.h
|
2022-11-01 22:09:32 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o planarbot
|