summaryrefslogtreecommitdiff
path: root/libc/regexp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/regexp/Makefile')
-rw-r--r--libc/regexp/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/regexp/Makefile b/libc/regexp/Makefile
index 0276aba..c99c22e 100644
--- a/libc/regexp/Makefile
+++ b/libc/regexp/Makefile
@@ -5,7 +5,7 @@ LSRC=regexp.c regsub.c regerror.c
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
all: $(LIBC)
- @:
+ @$(RM) $(OBJ)
$(LIBC): $(LIBC)($(OBJ))
@@ -16,12 +16,10 @@ transfer:
$(LIBC)(regexp.o): regexp.c regexp.h regmagic.h
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
$(LIBC)(regsub.o): regsub.c regexp.h regmagic.h
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(AR) $(ARFLAGS) $@ $*.o
- $(RM) $*.o
clean:
rm -f libc.a *.o core mon.out timer.t.h dMakefile dtr try timer