From: Matthias Braun Date: Mon, 29 May 2006 13:09:21 +0000 (+0000) Subject: updated Makefile X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=233c5f017cbc07851b1783e9ae6fb4979fe192b9;p=libfirm updated Makefile --- diff --git a/ir/be/test/Makefile b/ir/be/test/Makefile index 6fead3fbe..864ac6600 100644 --- a/ir/be/test/Makefile +++ b/ir/be/test/Makefile @@ -5,7 +5,9 @@ GCC=gcc GCC_CFLAGS=-O3 -g EDG_CFLAGS=-b nomris -f win32 -b ra-chordal-spill=morgan --c -Ic:\\devstudio\\include -SOURCES=$(wildcard *.c) +EXCLUDE=bf_localinit.c bf_store.c calls.c compress95.c convtest.c \ + fe_bug.c gnu_def.c harness.c if.c psi_test.c +SOURCES=$(filter-out $(EXCLUDE), $(wildcard *.c)) GCCEXES=$(addprefix gcc/, $(addsuffix .exe, $(basename $(SOURCES)))) FIRMEXES=$(addprefix firm/, $(addsuffix .exe, $(basename $(SOURCES)))) FIRMASSEMBLERS=$(addprefix firm/, $(addsuffix .s, $(basename $(SOURCES)))) @@ -35,7 +37,7 @@ gcc/%.result: gcc/%.exe firm/%.result: firm/%.exe @test -z firm || mkdir -p firm - firm/$*.exe >& $@ || echo "$*.c" >> doesntrun + firm/$*.exe >& $@ || echo "$*.c" >> doesntrun.txt compare_%.c: gcc/%.exe firm/%.exe gcc/%.result firm/%.result diff -u gcc/$*.result firm/$*.result || echo "$*.c" >> broken.txt diff --git a/ir/be/test/am_test.c b/ir/be/test/am_test.c index 1608fe994..7b454c578 100644 --- a/ir/be/test/am_test.c +++ b/ir/be/test/am_test.c @@ -10,3 +10,9 @@ void am_test_func(int a, int b) { ar[1] = a * b + i; } + +int main() +{ + am_test_func(0, 0); + return 0; +}