- introduced header file dependency check
This commit is contained in:
@ -19,7 +19,7 @@ libhlib.a: $(OBJ)
|
|||||||
ranlib libhlib.a
|
ranlib libhlib.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a
|
rm -f *.o *.a *.d
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
include ../../linux_def
|
include ../../linux_def
|
||||||
|
|
||||||
CC = gcc
|
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 make_gen
|
||||||
|
|
||||||
|
-include $(OBJ:.o=.d)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user