Archived
1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2011-06-08 18:46:58 +02:00
commit b2df740514
19 changed files with 1640 additions and 0 deletions

21
Makefile Normal file
View 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)