diff --git a/Makefile b/Makefile index 20cfb358..432ea39d 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,7 @@ # Toplevel Makefile for UPX -all: - $(MAKE) -C src/stub - $(MAKE) -C src - $(MAKE) -C doc - -mostlyclean clean distclean maintainer-clean: +all mostlyclean clean distclean maintainer-clean: + $(MAKE) -C src/stub/util/sstrip $@ $(MAKE) -C src/stub $@ $(MAKE) -C src $@ $(MAKE) -C doc $@ @@ -14,8 +10,7 @@ dist: distclean false zip: - cd .. && rm -f upx-currenz.zip && zip -r upx-current.zip upx - + cd .. && rm -f upx-current.zip && zip -r upx-current.zip upx cvs-admin-ko: cvs admin -ko . diff --git a/src/stub/util/sstrip/Makefile b/src/stub/util/sstrip/Makefile index ef37f5d6..28e5bd5a 100644 --- a/src/stub/util/sstrip/Makefile +++ b/src/stub/util/sstrip/Makefile @@ -1,7 +1,10 @@ # Makefile for sstrip sstrip: sstrip.c - gcc -O2 -g -Wall -W -o sstrip $< + gcc -O2 -g -Wall -W -o $@ $< -clean: +mostlyclean clean distclean maintainer-clean: rm -f sstrip + +.PHONY: all mostlyclean clean distclean maintainer-clean +