gob_SOURCES = \
main.c \
+ main.h \
tree.c \
tree.h \
out.c \
BUILT_SOURCES = parse.h parse.c lexer.c
-CLEANFILES += $(BUILT_SOURCES)
+CLEANFILES += $(BUILT_SOURCES) gtk-weird-button.*
EXTRA_DIST = test.gob
test -f y.tab.h && mv -f y.tab.h parse.h
test: gtk-weird-button.c gtk-weird-button.h
+ $(CC) -g -Wall `gtk-config --cflags` -c gtk-weird-button.c
+
gtk-weird-button.c gtk-weird-button.h: test.gob gob
./gob test.gob