From: Matthias Braun Date: Thu, 1 Jun 2006 09:14:35 +0000 (+0000) Subject: - use an external Makefile.config for the test/Makefile that is not comitted to cvs... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=1b89895556b22779688cbff539378762295c1601;p=libfirm - use an external Makefile.config for the test/Makefile that is not comitted to cvs so that everyone can have its personal settings/flags --- diff --git a/ir/be/test/.cvsignore b/ir/be/test/.cvsignore index 2e8f61cd8..20cd3895e 100644 --- a/ir/be/test/.cvsignore +++ b/ir/be/test/.cvsignore @@ -10,3 +10,4 @@ OUT.* gcc firm +Makefile.config \ No newline at end of file diff --git a/ir/be/test/Makefile b/ir/be/test/Makefile index 942be40e1..8a2f8b898 100644 --- a/ir/be/test/Makefile +++ b/ir/be/test/Makefile @@ -1,17 +1,5 @@ -# Configuration section -EDG=edg -GCC=gcc - -GCC_CFLAGS=-O3 -g -EDG_CFLAGS=-f win32 -b ra-chordal-spill=morgan --c -Ic:\\devstudio\\include - -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)))) -DONTCOMPARE = XXEndless.c +include Makefile.config + COMPARES = $(addprefix compare_, $(filter-out $(DONTCOMPARE), $(SOURCES))) .PHONY: all clean firm gcc compare diff --git a/ir/be/test/Makefile.config.example b/ir/be/test/Makefile.config.example new file mode 100644 index 000000000..8e0118c06 --- /dev/null +++ b/ir/be/test/Makefile.config.example @@ -0,0 +1,15 @@ +# Configuration section +EDG=edg +GCC=gcc + +GCC_CFLAGS=-O3 -g +EDG_CFLAGS=-f win32 -b ra-chordal-spill=morgan --c -Ic:\\devstudio\\include + +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)))) +DONTCOMPARE = XXEndless.c +C