]> git.draconx.ca Git - gob-dx.git/blobdiff - src/Makefile.am
Release 0.90.2
[gob-dx.git] / src / Makefile.am
index e2f80b28c68363219ee945dc4a182f7c32317ae0..37541877d8f1172e759de5ff9360fed21276cf8f 100644 (file)
@@ -7,6 +7,7 @@ bin_PROGRAMS = gob
 
 gob_SOURCES =  \
        main.c          \
+       main.h          \
        tree.c          \
        tree.h          \
        out.c           \
@@ -16,13 +17,13 @@ gob_SOURCES =       \
 
 gob_LDADD = \
        -lm \
-       -lpopt \
+       @POPT_LIB@ \
        $(GLIB_LIBS) \
        @LEXLIB@
 
 BUILT_SOURCES = parse.h parse.c lexer.c
 
-CLEANFILES += $(BUILT_SOURCES)
+CLEANFILES += $(BUILT_SOURCES) gtk-weird-button.*
 
 EXTRA_DIST = test.gob
 
@@ -32,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