diff --git a/hardsup/make_gen b/hardsup/make_gen index 32e8a1f..3408078 100644 --- a/hardsup/make_gen +++ b/hardsup/make_gen @@ -19,7 +19,7 @@ libhlib.a: $(OBJ) ranlib libhlib.a clean: - rm -f *.o *.a + rm -f *.o *.a *.d diff --git a/hardsup/makefile_linux b/hardsup/makefile_linux index adae6c6..7c5971a 100644 --- a/hardsup/makefile_linux +++ b/hardsup/makefile_linux @@ -9,6 +9,9 @@ include ../../linux_def CC = gcc -CFLAGS = -g -DLINUX $(DFORTIFY) -I. -I../.. -Wall -Wno-unused +CFLAGS = -g -DLINUX $(DFORTIFY) -I. -I../.. -MMD -Wall -Wno-unused include make_gen + +-include $(OBJ:.o=.d) +