aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-19 07:35:30 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2011-04-19 07:35:30 -0400
commitee504278baebf1d9ebb62bcf99063291b13d3295 (patch)
treef74eaabbe161f7e7173a53eb67794899e830bcb4
parent1739c6b4dee82b560da98b2b4acf73ee48415382 (diff)
downloadduser-ee504278baebf1d9ebb62bcf99063291b13d3295.tar.gz
This will build on Solaris >10
-rw-r--r--Makefile.solaris10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.solaris b/Makefile.solaris
new file mode 100644
index 0000000..03d8b3d
--- /dev/null
+++ b/Makefile.solaris
@@ -0,0 +1,10 @@
+CC=gcc
+CFLAGS=-O2 -Wextra -Wall -D_NLINUX_
+LDFLAGS=
+PROG="duser"
+SRC=compat.c duser.c duser.h log.c cfg.c
+all:
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC)
+
+clean:
+ rm -rf $(PROG)