diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,8 +61,11 @@ clean: realclean: clean rm -f $(PROJ).8 usage.c +# this is a "private" target, not expected to work on random systems. +# It specifically works on Slackware 15.0, if the system/musl package +# from SlackBuilds.org is installed. static: clean - $(MAKE) CC=musl-gcc CFLAGS="$(COPT) $(CWARN) -nostdinc -isystem /usr/include/musl -isystem /usr/include -Wl,-s" + $(MAKE) CC=musl-gcc COPT="-static -nostdinc -isystem /usr/include/musl -isystem /usr/include -Wl,-s" mv $(PROJ) $(PROJ).static install: all |