X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Ftest%2FMakefile;h=92323a49e7eacc46df59d5166e95684180aa34e5;hb=5af4cb6fd26054ef16c8da79d534abacb2a32c6e;hp=dc4ee072c6281fdd7a24cc2f54c60c005b42b28c;hpb=9f70e2b27566ba7deb85fed0c52e001af228cef3;p=libfirm diff --git a/ir/be/test/Makefile b/ir/be/test/Makefile index dc4ee072c..92323a49e 100644 --- a/ir/be/test/Makefile +++ b/ir/be/test/Makefile @@ -43,14 +43,25 @@ gcc/%.exe: %.c $(GCC) $(GCC_CFLAGS) $*.c -o $@ firm/%.s: %.c - @test -z firm || mkdir -p firm + @mkdir -p firm @test -z $(RESDIR) || mkdir -p $(RESDIR) cd firm ; $(EDG) $(EDG_CFLAGS) ../$*.c || echo "$*.c" >> ../$(RESDIR)/compile_failed.txt mv $*.s firm -firm/%.exe: firm/%.s - @test -z $(RESDIR) || mkdir -p $(RESDIR) - $(GCC) $(ASM_FLAGS) firm/$*.s -o $@ || echo "$*.c" >> $(RESDIR)/link_failed.txt +firm/%.exe: %.c + @mkdir -p firm + @mkdir -p $(RESDIR) + $(EDG) $(EDG_CFLAGS) $*.c -o $@ || echo "$*.c" >> $(RESDIR)/link_failed.txt + +icc/%.s: %.c + @test -z icc || mkdir -p icc + $(ICC) $(ICC_CFLAGS) -S $*.c -o $@ + +.PRECIOUS: icc/%.s + +icc/%.exe: icc/%.s + @test -z icc || mkdir -p icc + $(ICC) $(ICC_CFLAGS) $*.c -o $@ clean: rm -f gcc/*