]> Dogcows Code - chaz/openbox/blob - obcl/Makefile
watch out for not loading the timed_menu plugin
[chaz/openbox] / obcl / Makefile
1 CFLAGS=-ansi -pedantic -Wall `pkg-config --cflags glib-2.0`
2 LIBS=`pkg-config --libs glib-2.0` -ll
3
4 targets = cltest
5
6 sources = obcl.c main.c parse.c lex.c process.c
7 headers = obcl.h
8
9 .PHONY: all clean
10
11 all: $(targets)
12
13 $(targets): $(sources:.c=.o)
14 $(CC) -o $@ $^ $(LIBS)
15
16 parse.c: parse.y
17 $(YACC) -d -o$@ $^
18
19 lex.c: lex.l
20 $(LEX) -o$@ $^
21
22 clean:
23 $(RM) $(targets) *.o core *~ lex.c parse.c parse.h
This page took 0.032355 seconds and 4 git commands to generate.