6 CFLAGS = -Wall -Werror -Wno-unused-result -g --std=c99
7 CPPFLAGS = $(shell pkg-config --cflags glib-2.0) -I../markdown
8 LDFLAGS = $(shell pkg-config --libs glib-2.0) -L../markdown -lmarkdown
19 rm -f src/*.o src/html.c $(PROG)
22 $(PROG): src/main.o src/html.o
23 $(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
25 %.o: %.c makefile src/html.h
26 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
28 src/%.c: theme/%.ct makefile