]> git.draconx.ca Git - gob-dx.git/blobdiff - src/Makefile.am
Release 0.90.0
[gob-dx.git] / src / Makefile.am
index f97395d2fc82ff783d6ab2d79b9431c0c69e4a81..b8a6baff73a5d0e22b08015c93d2763cd89e04cd 100644 (file)
@@ -7,8 +7,11 @@ bin_PROGRAMS = gob
 
 gob_SOURCES =  \
        main.c          \
+       main.h          \
        tree.c          \
        tree.h          \
+       out.c           \
+       out.h           \
        parse.y         \
        lexer.l
 
@@ -20,7 +23,7 @@ gob_LDADD = \
 
 BUILT_SOURCES = parse.h parse.c lexer.c
 
-CLEANFILES += $(BUILT_SOURCES)
+CLEANFILES += $(BUILT_SOURCES) gtk-weird-button.*
 
 EXTRA_DIST = test.gob
 
@@ -30,5 +33,7 @@ parse.h: parse.y
        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