X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/23e431b77490d82e8b0db765965618180359c8cc..a0dfe581d60447126e94ee12f3db1dd86de87755:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index f7e2171..c714785 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,8 @@ LINK.o = $(CXX) $(CXXFLAGS) $(LDFLAGS) $(TARGET_ARCH) LDLIBS := -lsimgrid MAKEDEPEND.FLAGS = $(CPPFLAGS) -MM -MG -MF $@ $< -MAKEDEPEND.CXX = $(CXX) $(MAKEDEPEND.FLAGS) +MAKEDEPEND.C = $(CC) $(CFLAGS) $(MAKEDEPEND.FLAGS) +MAKEDEPEND.CXX = $(CXX) $(CXXFLAGS) $(MAKEDEPEND.FLAGS) SRC.loba := main.cpp \ communicator.cpp \ @@ -73,6 +74,8 @@ realclean: clean $(RM) $(XML_DEV_FILES) $(RM) *~ +.%.d: %.c ; $(MAKEDEPEND.C) + .%.d: %.cpp ; $(MAKEDEPEND.CXX) $(FLAVOURED_LOBA):