From 7f7410d05a7794c63a42b987d1136f6455ff23c7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 7 Oct 2000 01:53:53 +0000 Subject: More cleanups --- libc/misc/regex/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libc/misc/regex') 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 -- cgit v1.2.3