diff options
Diffstat (limited to 'libc/grp/Makefile')
-rw-r--r-- | libc/grp/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libc/grp/Makefile b/libc/grp/Makefile index e8cb13a..f5d42a0 100644 --- a/libc/grp/Makefile +++ b/libc/grp/Makefile @@ -5,15 +5,20 @@ TOP=.. include $(TOP)/Make.defs -ifeq ($(PLATFORM),i386-Linux) +ifeq ($(LIB_CPU),g386) CFLAGS+=$(WALL) -else # ifeq ($(PLATFORM),i86-ELKS) +else CFLAGS=$(CCFLAGS) $(LIBDEFS) -ansi endif GSRC=__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \ config-grp.h + +ifeq ($(LIB_OS),ELKS) GOBJ=__getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o +else +GOBJ= +endif all: $(GOBJ) @@ -35,7 +40,3 @@ libgrp.a: $(GOBJ) clean: rm -f *.o libc.a libgrp.a - - - - |