summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 260b95f..5840c65 100644
--- a/Makefile
+++ b/Makefile
@@ -42,8 +42,7 @@ commit : distclean
%/Makefile.in : Makefile.in %/; cp $< $@
distclean-mods = $(addprefix distclean-,$(mods))
-
-.PHONY : distclean $(distclean-mods)
+#.PHONY : distclean $(distclean-mods)
distclean : $(distclean-mods)
distclean-% : % %/
$(RM) -r $<-build/
@@ -57,11 +56,11 @@ complete-% : %/
find $< -type d -exec cp Makefile.in '{}' \;
%-build : %/; $(MKDIR) $@
-%-build/Makefile : %-build %/configure
+%-build/Makefile : %-build complete-%
cd $<; ../$(patsubst %-build,%/,$<)/configure
$(MAKE) -C $< Makefiles
-build-% : %-build complete-% %-build/Makefile; $(MAKE) -C $<
-install-% : %-build; $(MAKE) -C $< install
-clean-% : %-build; $(MAKE) -C $< clean
+build-% : %-build %-build/Makefile; $(MAKE) -C $<
+install-% : %-build %-build/Makefile; $(MAKE) -C $< install
+clean-% : %-build %-build/Makefile; $(MAKE) -C $< clean