mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 2 deletions
3
Rules.mk
3
Rules.mk
|
@ -30,8 +30,6 @@ MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)
|
||||||
|
|
||||||
ALL_OBJS = $(OBJS) $(MOC_OBJS)
|
ALL_OBJS = $(OBJS) $(MOC_OBJS)
|
||||||
|
|
||||||
DEPS = $(wildcard .dep/*.dep)
|
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
$(NAME): gen_version_file $(ALL_OBJS) $(MSGOBJS) $(INFOPLIST)
|
$(NAME): gen_version_file $(ALL_OBJS) $(MSGOBJS) $(INFOPLIST)
|
||||||
|
@ -205,4 +203,5 @@ clean:
|
||||||
confclean: clean
|
confclean: clean
|
||||||
rm -f $(CONFIGFILE)
|
rm -f $(CONFIGFILE)
|
||||||
|
|
||||||
|
DEPS = $(addprefix .dep/,$(C_SOURCES:.c=.o.dep) $(CXX_SOURCES:.cpp=.o.dep))
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue