Jelajahi Sumber

Makefile sanity fix.
-Erik

Eric Andersen 23 tahun lalu
induk
melakukan
df1d8b1a40
1 mengubah file dengan 6 tambahan dan 16 penghapusan
  1. 6 16
      libc/pwd_grp/Makefile

+ 6 - 16
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
-