aboutsummaryrefslogtreecommitdiffstats
path: root/src/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 /src/Makefile
parent7a50aa61b241e7610ccbad8a119308960d9ddb29 (diff)
downloadaports-6354a278883161704c7f8650a3bdde77f163c6ad.tar.bz2
aports-6354a278883161704c7f8650a3bdde77f163c6ad.tar.xz
Makefile: added 'make static' target to build apk.static
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index e6bf9adb17..30fa0c7e8a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -36,6 +36,9 @@ all: $(TARGETS)
apk: $(apk_OBJS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+apk.static: $(apk_OBJS)
+ $(CC) $(LDFLAGS) -static -o $@ $^ $(LIBS)
+
clean::
@rm -f $(TARGETS) $(ALL_OBJS)