summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-16 10:10:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-16 10:10:29 +0000
commit6354a278883161704c7f8650a3bdde77f163c6ad (patch)
treeda623a78921b4a401eb788771f3a00e287f81772 /Makefile
parent7a50aa61b241e7610ccbad8a119308960d9ddb29 (diff)
downloadapk-tools-6354a278883161704c7f8650a3bdde77f163c6ad.tar.bz2
apk-tools-6354a278883161704c7f8650a3bdde77f163c6ad.tar.xz
Makefile: added 'make static' target to build apk.static
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7bb063..68ff9c1 100644
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,13 @@ DOCDIR=/usr/share/doc/apk
SUBDIRS=src
-.PHONY: compile install clean all
+.PHONY: compile install clean all static
all: compile
+static:
+ $(MAKE) $(MFLAGS) -C src apk.static
+
compile install clean::
@for i in $(SUBDIRS); do $(MAKE) $(MFLAGS) -C $$i $(MAKECMDGOALS); done