aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--Makefile.solaris6
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6b0fb72..3267228 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,10 @@ CC=gcc
CFLAGS=-O2 -Wall -Wextra
LDFLAGS=
PROG="duser"
-SRC=duser.c duser.h log.c cfg.c
+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)
diff --git a/Makefile.solaris b/Makefile.solaris
index 03d8b3d..7660669 100644
--- a/Makefile.solaris
+++ b/Makefile.solaris
@@ -1,10 +1,10 @@
CC=gcc
-CFLAGS=-O2 -Wextra -Wall -D_NLINUX_
+CFLAGS=-O2 -Wextra -Wall -D_NLINUX
LDFLAGS=
PROG="duser"
-SRC=compat.c duser.c duser.h log.c cfg.c
+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)