diff options
Diffstat (limited to 'Makefile.static')
-rw-r--r-- | Makefile.static | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.static b/Makefile.static new file mode 100644 index 0000000..514b53c --- /dev/null +++ b/Makefile.static @@ -0,0 +1,11 @@ +CC=gcc +CFLAGS=-O2 -Wall -Wextra -static +LDFLAGS= +PROG="duser" +SRC=duser.c duser.h user.c util.c log.c cfg.c +all: + $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC) + strip -s $(PROG) +clean: + rm -rf $(PROG) + |