Fix for gzip make clean if Makefile doesn't exist..
This commit is contained in:
parent
e40c757038
commit
c0f83b4033
@ -1,6 +1,7 @@
|
|||||||
# Makefile for commands.
|
# Makefile for commands.
|
||||||
|
|
||||||
MAKE = exec make -$(MAKEFLAGS)
|
MAKE = exec make -$(MAKEFLAGS)
|
||||||
|
GZIP=gzip-1.2.4
|
||||||
|
|
||||||
usage:
|
usage:
|
||||||
@echo "Usage: make all # Compile all commands" >&2
|
@echo "Usage: make all # Compile all commands" >&2
|
||||||
@ -8,11 +9,11 @@ usage:
|
|||||||
@echo " make clean # Delete .o files and other junk" >&2
|
@echo " make clean # Delete .o files and other junk" >&2
|
||||||
@false
|
@false
|
||||||
|
|
||||||
all::
|
all install::
|
||||||
cd gzip-1.2.4 && ./configure --prefix=/usr && make
|
cd $(GZIP) && ./configure --prefix=/usr && make $@
|
||||||
|
|
||||||
install clean::
|
clean::
|
||||||
cd gzip-1.2.4 && make $@
|
if [ -f $(GZIP)/Makefile] ; then cd $(GZIP) && make $@; fi
|
||||||
|
|
||||||
all install clean::
|
all install clean::
|
||||||
cd `arch` && $(MAKE) $@
|
cd `arch` && $(MAKE) $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user