X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=e6b6ecc27367d12f46d189c3c75036d09acc1bb6;hp=a246f4c161832b7f182ea5a457cdc6d435768c4b;hb=d7b4aa3835197ee906f13f515040e1cda6385544;hpb=c7250fb279af132333266af36e19c156dd84eca1 diff --git a/Makefile.in b/Makefile.in index a246f4c1..e6b6ecc2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -101,9 +101,10 @@ else Q = endif -.PHONY: all clean distclean maintainer-clean install man tarball\ +.PHONY: dep all clean distclean maintainer-clean install man tarball\ .FORCE-GIT-VERSION-FILE -all: @executables@ $(man_pages) +all: dep @executables@ $(man_pages) +dep: $(deps) man: $(man_pages) tarball: $(tarball) @@ -226,8 +227,10 @@ all_objs := $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \ $(audiod_objs) $(audioc_objs) $(fade_objs) $(server_objs) \ $(write_objs) $(afh_objs) +deps := $(all_objs:.o=.d) + ifeq ($(findstring clean, $(MAKECMDGOALS)),) --include $(all_objs:.o=.d) +-include $(deps) endif para_recv: $(recv_objs)