Updated the master Makefile

to be more friendly to people without the special stub build tools.

committer: mfx <mfx> 1146764116 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2006-05-04 17:35:16 +00:00
parent 596827a912
commit faa42ba341

View File

@ -12,8 +12,11 @@ default:
@echo "UPX info: please choose a target for 'make'" @echo "UPX info: please choose a target for 'make'"
all mostlyclean clean distclean maintainer-clean: all mostlyclean clean distclean maintainer-clean:
ifneq ($(wildcard $(HOME)/local/bin/bin-upx),)
# these need special build tools
$(MAKE) -C src/stub/util/sstrip $@ $(MAKE) -C src/stub/util/sstrip $@
$(MAKE) -C src/stub $@ $(MAKE) -C src/stub $@
endif
$(MAKE) -C src $@ $(MAKE) -C src $@
$(MAKE) -C doc $@ $(MAKE) -C doc $@
@ -38,6 +41,6 @@ ChangeLog ChangeLog.cvs:
perl $(srcdir)/scripts/cvs2cl.pl --utc -f ChangeLog.cvs perl $(srcdir)/scripts/cvs2cl.pl --utc -f ChangeLog.cvs
.PHONY: all mostlyclean clean distclean maintainer-clean .PHONY: default all mostlyclean clean distclean maintainer-clean
.PHONY: dist cvs-info cvs-admin-ko ChangeLog ChangeLog.cvs .PHONY: dist cvs-info cvs-admin-ko ChangeLog ChangeLog.cvs