diff options
author | Luke Shumaker <luke@HP-dv6426us-u904.(none)> | 2009-11-23 21:14:21 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:18 -0600 |
commit | a21c95f5e5b9b45f440813801ed413825300aa2b (patch) | |
tree | ea89bd09f2b069bbea29f236b072ac8c7099011b /Makefile | |
parent | 419801528066ea61546cde30c9f9f7f953e823b5 (diff) |
I'm really not sure, these are uncommited changes, and I haven't touched it in a while.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -42,7 +42,6 @@ commit : distclean %/Makefile.in : Makefile.in %/; cp $< $@ distclean-mods = $(addprefix distclean-,$(mods)) -#.PHONY : distclean $(distclean-mods) distclean : $(distclean-mods) distclean-% : % %/ $(RM) -r $<-build/ @@ -56,11 +55,16 @@ complete-% : %/ find $< -type d -exec cp Makefile.in '{}' \; %-build : %/; $(MKDIR) $@ -%-build/Makefile : %-build complete-% - cd $<; ../$(patsubst %-build,%/,$<)/configure $(CONFIG) +%-build/Makefile : Makefiles-% ; : +Makefiles-% : %-build complete-% + if [ ! -e "$</Makefile" ]; then \ + cd $<; \ + ../$(patsubst %-build,%/,$<)/configure $(CONFIG); \ + fi $(MAKE) -C $< Makefiles -build-% : %-build %-build/Makefile; $(MAKE) -C $< -install-% : %-build %-build/Makefile; $(MAKE) -C $< install -clean-% : %-build %-build/Makefile; $(MAKE) -C $< clean +build-% : %-build %-build/Makefile; $(MAKE) -C $< +install-% : %-build %-build/Makefile; $(MAKE) -C $< install +uninstall-% : %-build %-build/Makefile; $(MAKE) -C $< uninstall +clean-% : %-build %-build/Makefile; $(MAKE) -C $< clean |