Added routine remove_irp_irg.
[libfirm] / testprograms / Makefile.in
index f9914d1..2754271 100644 (file)
@@ -20,7 +20,8 @@ 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
 
@@ -31,13 +32,11 @@ CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/
 LDFLAGS += -L$(topdir)
 LDLIBS += -lfirm -lgmp
 
+GENFILES := $(bin_EXAMPLES) *.vcg
+
 include $(top_srcdir)/MakeTargets
 
 all:   $(bin_EXAMPLES) $(topdir)/libfirm.a
 
 run:
        $(run_bin_EXAMPLES)
-
-# this generates error messages
-local_clean:
-       $(RM) $(OFILES) $(bin_EXAMPLES) *.vcg core