fixed warnings

added cookie.h header
added header dependency
This commit is contained in:
Markus Fröschle
2013-05-05 05:24:55 +00:00
parent b144b1263b
commit ead990d1a1
3 changed files with 27 additions and 3 deletions

View File

@@ -29,4 +29,12 @@ test: xhdi_test.c
$(CC) $(CFLAGS) -Wl,-traditional-format xhdi_test.c -o xhditest.prg
.PHONY clean:
- rm -rf *.o xhditest.prg
- rm -rf *.o depend xhditest.prg
depend: $(SOURCES)
$(CC) $(CFLAGS) $(INCLUDE) -M $(SOURCES) | sed -e 's/^\(.*\).o:/$(OBJDIR)\/\1.o:/' > depend
ifneq (clean,$(MAKECMDGOALS))
-include depend
endif