There can be only one (filename convention)
[mussa.git] / Makefile.noqt
index b2aaecc34477b5d7fff56234022cd81088e2fb2f..5431ab1efb825a38e667a9363075fb23b07bbf95 100644 (file)
@@ -26,7 +26,7 @@ include gui/module.mk
 include module.mk
 
 # process what the module.mks defined
-OBJ := $(patsubst %.cxx,%.o, $(filter %.cxx,$(SRC))) 
+OBJ := $(patsubst %.cpp,%.o, $(filter %.cpp,$(SRC))) 
 DEPS := $(OBJ:.o=.d)
 
 targets: $(TARGETLIBS) $(TARGETBINS)
@@ -38,11 +38,11 @@ define make-depend
   $(CXX) -MM -MF $3 -MP -MT $2 $(CFLAGS) $(CXXFLAGS) $1
 endef
        
-%.d: %.cxx
+%.d: %.cpp
        $(call make-depend,$<,$@,$(subst .o,.d,$@))
 #      makedepend -o.d $(dirname $^) $(CFLAGS) $(CXXFILAGS) $^ -f- > $@
 
-%.o: %.cxx
+%.o: %.cpp
        $(CXX) -c -o $@ $(CXXFLAGS) $^
 
 include $(DEPS)