summaryrefslogtreecommitdiff
path: root/2004
diff options
context:
space:
mode:
Diffstat (limited to '2004')
-rw-r--r--2004/i/nono/src/GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/2004/i/nono/src/GNUmakefile b/2004/i/nono/src/GNUmakefile
index 8804080..35fab2e 100644
--- a/2004/i/nono/src/GNUmakefile
+++ b/2004/i/nono/src/GNUmakefile
@@ -1,5 +1,5 @@
SUBDIRS = config date erreur motor serial fake_serial utils \
- logger video4linux image ovision qdai io
+ logger video4linux image ovision qdai io path
TARGETS =
LIBS = -lm
@@ -29,7 +29,7 @@ alltargets: $(TARGETS)
.dep/%.d: %.cc .dep
@echo "Dependency checking for $<..."
@set -e; $(CXX) -M $(CPPFLAGS) $< \
- | sed 's/\($*\)\.o[ :]*/\1.o .dep\/$*.d : /g' > $@; \
+ | sed 's!\($*\)\.o[ :]*!\1.o .dep\/$*.d : !g' > $@; \
[ -s $@ ] || rm -f $@
-include $(foreach target, $(TARGETS) $(subst .,_,$(LIBS)), $(patsubst %.cc, .dep/%.d, $(filter %.cc, $($(target)_SOURCES))))