aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-21 09:28:11 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2011-04-21 09:28:11 -0400
commit7f5d9b7e41abdb98f699520d3a9464b360f7c8b9 (patch)
tree0dcfe5679082cb623c058a1bcf4ad095eb568260
parentccf902295651bc77099d46c66aba3b726f3d57cc (diff)
downloadduser-7f5d9b7e41abdb98f699520d3a9464b360f7c8b9.tar.gz
Removed duser.h from source list
-rw-r--r--Makefile2
-rw-r--r--Makefile.solaris6
-rw-r--r--Makefile.static2
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3267228..3fcbd91 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=gcc
CFLAGS=-O2 -Wall -Wextra
LDFLAGS=
PROG="duser"
-SRC=duser.c duser.h user.c util.c log.c cfg.c
+SRC=duser.c user.c util.c log.c cfg.c
all:
$(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC)
strip -s $(PROG)
diff --git a/Makefile.solaris b/Makefile.solaris
index 7660669..a7323a3 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 util.c user.c duser.h log.c cfg.c
+SRC=compat.c duser.c util.c user.c log.c cfg.c
all:
$(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC)
- strip -s $(PROG)
+ strip -x $(PROG)
clean:
rm -rf $(PROG)
diff --git a/Makefile.static b/Makefile.static
index 514b53c..8f82d92 100644
--- a/Makefile.static
+++ b/Makefile.static
@@ -2,7 +2,7 @@ CC=gcc
CFLAGS=-O2 -Wall -Wextra -static
LDFLAGS=
PROG="duser"
-SRC=duser.c duser.h user.c util.c log.c cfg.c
+SRC=duser.c user.c util.c log.c cfg.c
all:
$(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRC)
strip -s $(PROG)