summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-07 01:53:53 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-07 01:53:53 +0000
commit7f7410d05a7794c63a42b987d1136f6455ff23c7 (patch)
tree06b0676cf7d3da72cb6c5f491cbc1cf2b2376675 /libc/misc/regex
parent04bc82edc59fed897b7f38e5f68a76402f087dfb (diff)
More cleanups
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/misc/regex/Makefile b/libc/misc/regex/Makefile
index ad0745020..b8b38faa9 100644
--- a/libc/misc/regex/Makefile
+++ b/libc/misc/regex/Makefile
@@ -24,12 +24,15 @@ TOPDIR=../
include $(TOPDIR)Rules.make
LIBC=$(TOPDIR)libc.a
-OBJ=rx.o
+CSRC=rx.c
+COBJS=$(patsubst %.c,%.o, $(CSRC))
-all: $(OBJ) $(LIBC)
+all: $(COBJS) $(LIBC)
-$(LIBC): $(OBJ)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJ)
+$(LIBC): $(COBJS)
+ $(AR) $(ARFLAGS) $(LIBC) $(COBJS)
+
+$(COBJS): Makefile
clean:
rm -f *.[oa] *~ core