adding command line tool for checking an regex
This commit is contained in:
parent
4c8c92b7f6
commit
d931ce7fd8
2 changed files with 42 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -3,7 +3,7 @@ CC = gcc
|
|||
LDFLAGS = -lxml2 -lcurl -lpcre
|
||||
CFLAGS = -g -Wall -O2 -I/usr/include/libxml2
|
||||
|
||||
PROGRAMS = dlight dlight-compile dlight-read-config
|
||||
PROGRAMS = dlight dlight-compile dlight-read-config dlight-filter-check
|
||||
|
||||
all : $(PROGRAMS)
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ install : $(PROGRAMS)
|
|||
dlight : dlight.o env.o http.o rss.o lockfile.o filter.o cconf.o dlhist.o error.o
|
||||
dlight-compile : compile.o env.o lockfile.o filter.o cconf.o error.o
|
||||
dlight-read-config : read-config.o env.o cconf.o error.o
|
||||
dlight-filter-check: filter-check.o filter.o error.o
|
||||
|
||||
dlight-% : %.o
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
|
|
|
|||
Reference in a new issue