Initial commit
This commit is contained in:
commit
b2df740514
19 changed files with 1640 additions and 0 deletions
21
Makefile
Normal file
21
Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
CC = gcc
|
||||
LDFLAGS = -lxml2 -lcurl -lpcre
|
||||
CFLAGS = -g -I/usr/include/libxml2
|
||||
|
||||
PROGRAMS = dlight dlight-compile dlight-read-config
|
||||
|
||||
all : $(PROGRAMS)
|
||||
|
||||
install : $(PROGRAMS)
|
||||
cp $^ $(HOME)/bin/
|
||||
|
||||
dlight : dlight.o env.o http.o rss.o filter.o cconf.o dlhist.o
|
||||
dlight-compile : compile.o env.o cconf.o
|
||||
dlight-read-config : read-config.o env.o cconf.o
|
||||
|
||||
dlight-% : %.o
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
clean :
|
||||
$(RM) *.o $(PROGRAMS)
|
||||
Reference in a new issue