summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ddc8142)
The command to create Makefile.deps was hardcoded as gcc in Makefile.
This patch changes the command to $(CC) and adds the usual set of
flags which we use for compiling.
DSS_CFLAGS += -Wshadow
Makefile.deps: $(wildcard *.c *.h)
DSS_CFLAGS += -Wshadow
Makefile.deps: $(wildcard *.c *.h)
+ $(CC) -MM -MG $(DSS_CFLAGS) $(CFLAGS) *.c > $@