mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added regex
SVN revision: 1106
This commit is contained in:
parent
b47ae488eb
commit
dd72f87b64
10
Makefile
10
Makefile
@ -35,7 +35,13 @@ endif
|
|||||||
all: $(EXECS)
|
all: $(EXECS)
|
||||||
|
|
||||||
debug: src/elogd.c
|
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
|
%: src/%.c
|
||||||
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
|
||||||
@ -66,4 +72,4 @@ install: $(EXECS)
|
|||||||
restart:
|
restart:
|
||||||
/etc/rc.d/init.d/elogd restart
|
/etc/rc.d/init.d/elogd restart
|
||||||
clean:
|
clean:
|
||||||
-$(RM) *~ $(EXECS)
|
-$(RM) *~ $(EXECS) regex.o
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user