]> Dogcows Code - chaz/openbox/blob - obcl/Makefile
beginning of obcl. the parser works with semicolons after statements
[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
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.031765 seconds and 4 git commands to generate.