summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-04 21:45:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-04 21:45:11 +0000
commitdf1d8b1a4074579139786d2838ae7072587bbee7 (patch)
treed310a661f068343e05ff8c43f08716fefe9dcf27
parent8cda0a538b60604b0befc109d8aebf9cd179e2c8 (diff)
Makefile sanity fix.
-Erik
-rw-r--r--libc/pwd_grp/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile
index 06f1cb7c1..c05933f3d 100644
--- a/libc/pwd_grp/Makefile
+++ b/libc/pwd_grp/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996 Nat Friedman <ndf@aleph1.mit.edu>
+# Copyright (C) 1996 Robert de Bath <robert@debath.thenet.co.uk>
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
@@ -7,25 +7,15 @@ include $(TOPDIR)Rules.make
LIBC=../libc.a
-CFLAGS=$(ARCH) -ansi $(CCFLAGS) $(DEFS)
+#__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c: config-grp.h
-PSRC=__getpwent.c pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c
-GSRC=__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \
- config-grp.h
-USRC=utent.c
-
-POBJ=__getpwent.o pwent.o getpwnam.o getpwuid.o putpwent.o getpw.o fgetpwent.o
-GOBJ=__getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o
-UOBJ=utent.o
-
-OBJ=$(POBJ) $(GOBJ) $(UOBJ)
+OBJ=__getpwent.o pwent.o getpwnam.o getpwuid.o putpwent.o getpw.o fgetpwent.o \
+ __getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o \
+ utent.o
all: $(LIBC)($(OBJ))
-$(LIBC)($(GOBJ)): config-grp.h
-
-$(LIBC): $(LIBC)($(OBJ))
+$(LIBC): $(OBJ)
clean:
rm -f *.o libc.a
-