diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 | 
1 files changed, 8 insertions, 2 deletions
| @@ -22,7 +22,7 @@ PROGSRC=\      file.cpp \      mime.cpp \      os.cpp \ -    stringutil.cpp \ +    stringhelper.cpp \      tempfile.cpp \      url.cpp @@ -50,6 +50,8 @@ install:  $(PROJECTNAME).a: $(SRC:.cpp=.o)  	ar rcs $@ $^ +dep: $(SRC:.cpp=.d) +  %.d: %.cpp  	$(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $< @@ -68,6 +70,9 @@ $(DISTROS): deb-src  	sudo pbuilder build --basetgz /var/cache/pbuilder/$@.tgz --buildresult result/$@ ../libreichwein_$(VERSION).dsc  	-debsign result/$@/libreichwein_$(VERSION)_amd64.changes +test: +	$(MAKE) -C tests +  # dependencies  ADD_DEP=Makefile @@ -75,7 +80,8 @@ ADD_DEP=Makefile  # misc ---------------------------------------------------  clean:  	-rm -f *.o *.a *.d $(SONAME1) $(SONAME2) $(SONAME3) +	$(MAKE) -C tests clean -.PHONY: clean all install +.PHONY: clean all install test  -include $(wildcard $(SRC:.cpp=.d)) | 
