gtk-weird-button.c gtk-weird-button.h: test.gob gob
./gob test.gob
+# can't depend on the header file as that would break the above rule
+# since it's just for testing, who cares
+testcpp: gtk-weird-button.cc
+ g++ -g -Wall `gtk-config --cflags` -c gtk-weird-button.cc
+
+gtk-weird-button.cc: test.gob gob
+ ./gob --for-cpp test.gob
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: