X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0872290a992e2f6db574c18ac36d1987318d477d..4cb5119dfa978af3deecb83a56587ed08384193a:/Makefile?ds=sidebyside

diff --git a/Makefile b/Makefile
index 6afc248..9de6a19 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ SRC.simple_async := simple_async.cpp
 
 SRC := $(SRC.loba) $(SRC.simple_async)
 OBJ := $(SRC:%.cpp=%.o)
-DEP := $(SRC:%.cpp=%.d)
+DEP := $(SRC:%.cpp=.%.d)
 
 DEFAULT_TARGETS := loba
 FLAVOURED_LOBA := loba-dev loba-stable
@@ -85,7 +85,7 @@ realclean: clean
 	$(RM) $(XML_DEV_FILES)
 	$(RM) *~
 
-%.d: %.cpp ; $(MAKEDEPEND.CXX)
+.%.d: %.cpp ; $(MAKEDEPEND.CXX)
 
 %_dev.xml: %.xml
 	sed '/DOCTYPE/s,simgrid.dtd,http://simgrid.gforge.inria.fr/&,' $< > $@