From dd72f87b64b4c65d34dac3343769bb88a82c76d0 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 13 Oct 2004 22:28:17 +0000 Subject: [PATCH] Added regex SVN revision: 1106 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 30d137d7..1a0373da 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,13 @@ endif all: $(EXECS) debug: src/elogd.c - $(CC) $(DFLAGS) -o elogd src/elogd.c $(LIBS) + $(CC) $(DFLAGS) -o elogd src/elogd.c src/regex.c $(LIBS) + +regex.o: src/regex.c src/regex.h + $(CC) -O3 -c -o regex.o src/regex.c + +elogd: src/elogd.c regex.o + $(CC) $(DFLAGS) -o elogd src/elogd.c regex.o $(LIBS) %: src/%.c $(CC) $(CFLAGS) -o $@ $< $(LIBS) @@ -66,4 +72,4 @@ install: $(EXECS) restart: /etc/rc.d/init.d/elogd restart clean: - -$(RM) *~ $(EXECS) + -$(RM) *~ $(EXECS) regex.o