aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-19 07:35:30 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2012-05-25 14:20:34 -0400
commit660c9ec1de78409db1b42c9e9a8a09507db4785a (patch)
treef74eaabbe161f7e7173a53eb67794899e830bcb4
parent39129e31eb5cdec4c974a3505d529852238dd9dd (diff)
downloadduser-660c9ec1de78409db1b42c9e9a8a09507db4785a.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)