aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)