FLAGS = -W -g h_listtest: list.o hashtest.o thehash.o testlist.o gcc $(FLAGS) -o hashtest.exe list.o hashtest.o thehash.o gcc $(FLAGS) -o listtest.exe list.o testlist.o hashtest.o: hashtest.c gcc $(FLAGS) -c hashtest.c testlist.o: testlist.c gcc $(FLAGS) -c testlist.c list.o: list.c list.h gcc $(FLAGS) -c list.c thehash.o: thehash.c thehash.h gcc $(FLAGS) -c thehash.c clean: touch hashtest.exe list.o hashtest.o thehash.o testlist.o listtest.exe rm list.o hashtest.o thehash.o testlist.o hashtest.exe listtest.exe