aboutsummaryrefslogtreecommitdiff
path: root/Makefile.solaris-static
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-20 23:48:26 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2012-05-25 14:20:35 -0400
commit625a58a962889a1abb1e18050022a422bfce7d28 (patch)
treedc1cfbe31ec3722adbbcd217aa9a2dbc9664bbec /Makefile.solaris-static
parentd523b2e5e68c9053fe58152fe3eb0cc8fcaa283c (diff)
downloadduser-625a58a962889a1abb1e18050022a422bfce7d28.tar.gz
Initial commit. For static compiling.
Diffstat (limited to 'Makefile.solaris-static')
-rw-r--r--Makefile.solaris-static10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.solaris-static b/Makefile.solaris-static
new file mode 100644
index 0000000..8e63af2
--- /dev/null
+++ b/Makefile.solaris-static
@@ -0,0 +1,10 @@
+CC=gcc
+CFLAGS=-O2 -Wextra -Wall -static -D_NLINUX
+LDFLAGS=
+PROG="duser"
+SRC=compat.c duser.c util.c user.c duser.h log.c cfg.c
+all:
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC)
+ strip -s $(PROG)
+clean:
+ rm -rf $(PROG)