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