block walk in irouts.
[libfirm] / testprograms / Makefile.in
index e05708d..2e19e87 100644 (file)
@@ -17,10 +17,11 @@ SOURCES := Makefile.in \
        call_str_example.c     if_else_example.c      memory_example.c          \
        cond_example.c         if_example.c           oo_program_example.c      \
        const_eval_example.c   if_while_example.c     three_cfpred_example.c    \
-       dead_block_example.c   inheritance_example.c  while_example.c
+       dead_block_example.c   inheritance_example.c  while_example.c           \
+       endless_loop.c         global_cse.c           oo_inline_example.c
 
 bin_EXAMPLES = $(CFILES:.c=)
-run_bin_EXAMPLES = $(CFILES:.c=;)
+run_bin_EXAMPLES = $(patsubst %.c,./%;,$(CFILES))
 
 
 include $(topdir)/MakeRules
@@ -30,7 +31,7 @@ CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/
                -I$(top_srcdir)/ir/tv
 
 LDFLAGS += -L$(topdir)
-LDLIBS += -lfirm -lgmp
+LDLIBS += -lfirm -lgmp -liberty
 
 GENFILES := $(bin_EXAMPLES) *.vcg