diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-11-03 22:33:35 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:33:35 +0200 |
commit | c218c617b5be443b7968308506969ad2b726d73c (patch) | |
tree | 0051f396af56133d24fcf2ab757fabc78c1a09bf /libc/misc/Makefile | |
parent | 0936b9aeab611665645a4e6bafaded7ca76dd189 (diff) | |
parent | 0d2fbe9b1bd284ce2cad55be17e8f2c896031a25 (diff) | |
download | dev86-c218c617b5be443b7968308506969ad2b726d73c.tar.gz |
Import Dev86src-0.0.8.tar.gzv0.0.8
Diffstat (limited to 'libc/misc/Makefile')
-rw-r--r-- | libc/misc/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile index 01092bb..3db73a7 100644 --- a/libc/misc/Makefile +++ b/libc/misc/Makefile @@ -15,17 +15,17 @@ GOBJ=atoi.o atol.o ltoa.o ltostr.o \ ctype.o qsort.o bsearch.o rand.o lsearch.o getopt.o \ itoa.o cputype.o strtol.o crypt.o -UOBJ=getenv.o putenv.o popen.o system.o +UOBJ=getenv.o putenv.o popen.o system.o setenv.o -ifeq ($(PLATFORM),i86-DOS) -OBJ=$(MOBJ) $(EOBJ) $(GOBJ) -else +ifeq ($(LIB_OS),ELKS) OBJ=$(MOBJ) $(EOBJ) $(GOBJ) $(UOBJ) +else +OBJ=$(MOBJ) $(EOBJ) $(GOBJ) endif # No ELKS strtod() until BCC does 16 bit FP... -ifeq ($(PLATFORM),i386-Linux) +ifneq ($(LIB_CPU),i86) OBJ+=strtod.o endif @@ -45,14 +45,14 @@ $(EOBJ): $(ESRC) $(CC) $(CFLAGS) -c -DL_$* -o $@ $(ESRC) crypt.o: crypt.c -ifeq ($(PLATFORM),i386-Linux) +ifeq ($(LIB_CPU),g386) $(CC) $(CFLAGS) $< -c -o $@ $(WALL) else $(CC) $(CFLAGS) $< -c -o $@ -ansi endif strto%.o: strto%.c -ifeq ($(PLATFORM),i386-Linux) +ifeq ($(LIB_CPU),g386) $(CC) $(CFLAGS) $< -c -o $@ $(WALL) else $(CC) $(CFLAGS) $< -c -o $@ -ansi |