5 INCLUDES = @GLIB_CFLAGS@ -I$(includedir)
7 bin_PROGRAMS = @DOINSTGOB@
8 noinst_PROGRAMS = @NOINSTGOB@
30 # we might want popt back in the future
33 BUILT_SOURCES = parse.h parse.c lexer.c
35 CLEANFILES += $(BUILT_SOURCES) gtk-weird-button.* gtk-weird-button-private.h
41 test -f y.tab.c && mv -f y.tab.c parse.c
42 test -f y.tab.h && mv -f y.tab.h parse.h
44 test: gtk-weird-button.c gtk-weird-button.h
45 $(CC) -g -Wall `gtk-config --cflags` -c gtk-weird-button.c
47 gtk-weird-button.c gtk-weird-button.h: test.gob gob
50 # can't depend on the header file as that would break the above rule
51 # since it's just for testing, who cares
52 testcpp: gtk-weird-button.cc
53 g++ -g -Wall `gtk-config --cflags` -c gtk-weird-button.cc
55 gtk-weird-button.cc: test.gob gob
56 ./gob --for-cpp test.gob