*** empty log message ***
[libfirm] / testprograms / Makefile.in
index e05708d..b53b3a1 100644 (file)
@@ -20,7 +20,7 @@ SOURCES := Makefile.in \
        dead_block_example.c   inheritance_example.c  while_example.c
 
 bin_EXAMPLES = $(CFILES:.c=)
-run_bin_EXAMPLES = $(CFILES:.c=;)
+run_bin_EXAMPLES = $(patsubst %.c,./%;,$(CFILES))
 
 
 include $(topdir)/MakeRules
@@ -30,7 +30,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