diff options
Diffstat (limited to 'libc/misc/regex')
-rw-r--r-- | libc/misc/regex/Makefile | 11 |
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 |