add code to create, clean and ignore *.d files

This commit is contained in:
Douglas Clowes
2013-05-31 09:34:41 +10:00
parent 8f0ceac2ad
commit ea28b7a78c
3 changed files with 7 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
SRC = .
CC = gcc
CFLAGS = -g -std=gnu99 -DLINUX $(DFORTIFY) -I$(SRC) -I../.. $(INC_TCL8) -Wall -Wno-unused -Wextra
CFLAGS = -g -std=gnu99 -DLINUX $(DFORTIFY) -I$(SRC) -I../.. $(INC_TCL8) -Wall -Wno-unused -Wextra -MMD
HOBJ = nhq200util.o
HOBJ += itc4util.o
@@ -39,4 +39,4 @@ libhlib.a: $(HOBJ)
ranlib libhlib.a
clean:
rm -f *.o *.a
rm -f *.o *.d *.a