From d26ffb8304ce88de613a62455976c8be3724bf2b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 20 Apr 2011 23:48:26 -0400 Subject: Initial commit. For static compiling. --- Makefile.static | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile.static (limited to 'Makefile.static') 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) + -- cgit