diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 |