demo/Makefile.am
changeset 611 eda12d8ac953
parent 415 fa341dd6ab23
     1.1 --- a/demo/Makefile.am	Wed Apr 01 17:17:47 2009 +0100
     1.2 +++ b/demo/Makefile.am	Wed Apr 01 14:18:35 2009 +0100
     1.3 @@ -1,16 +1,17 @@
     1.4 -EXTRA_DIST += \
     1.5 -	demo/CMakeLists.txt \
     1.6 -	demo/digraph.lgf
     1.7 +AM_CXXFLAGS = $(WARNINGCXXFLAGS)
     1.8  
     1.9 -if WANT_DEMO
    1.10 +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
    1.11 +LDADD = $(top_builddir)/lemon/libemon.la
    1.12  
    1.13 -noinst_PROGRAMS += \
    1.14 -	demo/arg_parser_demo \
    1.15 -	demo/graph_to_eps_demo \
    1.16 -	demo/lgf_demo
    1.17 +EXTRA_DIST = \
    1.18 +	CMakeLists.txt \
    1.19 +	digraph.lgf
    1.20  
    1.21 -endif WANT_DEMO
    1.22 +noinst_PROGRAMS = \
    1.23 +	arg_parser_demo \
    1.24 +	graph_to_eps_demo \
    1.25 +	lgf_demo
    1.26  
    1.27 -demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc
    1.28 -demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc
    1.29 -demo_lgf_demo_SOURCES = demo/lgf_demo.cc
    1.30 +arg_parser_demo_SOURCES = arg_parser_demo.cc
    1.31 +graph_to_eps_demo_SOURCES = graph_to_eps_demo.cc
    1.32 +lgf_demo_SOURCES = lgf_demo.cc