openbox3_LDFLAGS=-export-dynamic
openbox3_SOURCES=client.c event.c extensions.c focus.c frame.c openbox.c \
prop.c screen.c stacking.c xerror.c timer.c dispatch.c \
- engine.c plugin.c action.c grab.c cparse.l config.c
+ engine.c plugin.c action.c grab.c config.c menu.c \
+ y.tab.c lex.yy.c parse.c
noinst_HEADERS=client.h event.h extensions.h focus.h frame.h geom.h gettext.h \
openbox.h prop.h screen.h stacking.h xerror.h dispatch.h \
- timer.h engine.h plugin.h action.h grab.h config.h
+ timer.h engine.h plugin.h action.h grab.h config.h menu.h parse.h
+
+lex.yy.c: parse.l
+ $(FLEX) $^
+
+y.tab.c: parse.yacc
+ $(YACC) -d $<
MAINTAINERCLEANFILES= Makefile.in