diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-04-13 09:49:48 -0700 |
---|---|---|
committer | Thiago Macieira <thiago@macieira.org> | 2013-04-23 00:06:32 -0700 |
commit | a0b523a5afc91c3816f6c44e61f8a05d5fe5e80a (patch) | |
tree | 98451fc70242cba15b64e08045861992fa95991c /Rules.mk | |
parent | d773c02bf36f3b09584123bfd0e84a56304b33fb (diff) | |
download | subsurface-a0b523a5afc91c3816f6c44e61f8a05d5fe5e80a.tar.gz |
Get the list of dependency includes from the SOURCES list
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'Rules.mk')
-rw-r--r-- | Rules.mk | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |