Makefile: Make all output files depend on the Makefile itself

If you now rerun ./configure (e.g. for a different --prefix), everything
will be recompiled.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1205 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-09-14 17:57:15 +00:00
parent 69a429bca0
commit debe3ec335
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ install_metadirs: create_install_dir
clean:
rm -rf $(CLEAN)
%.so: %.cpp
%.so: %.cpp Makefile
@mkdir -p .depend
$(CXX) $(MODFLAGS) $(INCLUDES) $(LDFLAGS) -shared -o $@ $< $($(basename $<)FLAGS) -MMD -MF .depend/$<.dep