summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1997-05-09 19:36:29 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:39:48 +0200
commite63c244cb22bf48ca1d2695784a072269d19ea96 (patch)
tree45b9018259f43db629b27395783cf48e55a85eee /libc/misc
parent4c36e9a0c125ccfff37aa440dab2cf58c4152fff (diff)
downloaddev86-e63c244cb22bf48ca1d2695784a072269d19ea96.tar.gz
Import Dev86src-0.12.0.tar.gzv0.12.0
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 9bb579c..56fe043 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -29,19 +29,17 @@ endif
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
all: $(LIBC)
- @:
+ @$(RM) $(OBJ)
$(LIBC): $(LIBC)($(OBJ))
$(LIBC)($(MOBJ)): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
$(LIBC)($(EOBJ)): $(ESRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
clean:
rm -f *.o libc.a
@@ -49,14 +47,11 @@ clean:
$(LIBC)(strtol.o): strtol.c
$(CC) -c -ansi $(ARCH) $(CCFLAGS) $(DEFS) $*.c
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
$(LIBC)(strtod.o): strtod.c
$(CC) -c -ansi $(ARCH) $(CCFLAGS) $(DEFS) $*.c
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
$(LIBC)(crypt.o): crypt.c
$(CC) -c -ansi $(ARCH) $(CCFLAGS) $(DEFS) $*.c
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o