Get the list of dependency includes from the SOURCES list
Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
parent
d773c02bf3
commit
a0b523a5af
3
Rules.mk
3
Rules.mk
@ -30,8 +30,6 @@ MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)
|
||||
|
||||
ALL_OBJS = $(OBJS) $(MOC_OBJS)
|
||||
|
||||
DEPS = $(wildcard .dep/*.dep)
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): gen_version_file $(ALL_OBJS) $(MSGOBJS) $(INFOPLIST)
|
||||
@ -205,4 +203,5 @@ clean:
|
||||
confclean: clean
|
||||
rm -f $(CONFIGFILE)
|
||||
|
||||
DEPS = $(addprefix .dep/,$(C_SOURCES:.c=.o.dep) $(CXX_SOURCES:.cpp=.o.dep))
|
||||
-include $(DEPS)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user