diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-05 19:43:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-05 19:43:24 +0000 |
commit | 93ee0a165ac3b87af4fd49c990a7ea55369f8ca1 (patch) | |
tree | 8a0287257552fe78a41343c81a3f1f8fa6bde27e /test/Makefile.tests | |
parent | 277b4e4a9b490756149877661457377d178038b0 (diff) | |
download | external_llvm-93ee0a165ac3b87af4fd49c990a7ea55369f8ca1.zip external_llvm-93ee0a165ac3b87af4fd49c990a7ea55369f8ca1.tar.gz external_llvm-93ee0a165ac3b87af4fd49c990a7ea55369f8ca1.tar.bz2 |
Fix makefile to compile olden and main benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r-- | test/Makefile.tests | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests index 13c508f..df3dc8c 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -5,19 +5,6 @@ .PHONY: clean default -## Special targets to build a program from multiple source files -## -ifdef PROG - -default: $(PROG).clean.bc $(PROG).native - #.SECONDARY: $(PROG).clean.bc ## keep %.clean.bc from being deleted - -$(PROG).bc: $(OBJS) - $(LLINK) -f $(OBJS) -o $@ $(CFLAGS) - -$(PROG).native: $(OBJS:.o=.c) - gcc -o $@ $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -endif TOOLS = $(LEVEL)/tools/Debug @@ -46,6 +33,19 @@ CCFLAGS = $(CFLAGS) LDFLAGS = $(CFLAGS) ASFLAGS = -c $(CFLAGS) +## Special targets to build a program from multiple source files +## +ifdef PROG + +default: $(PROG).clean.bc $(PROG).native + #.SECONDARY: $(PROG).clean.bc ## keep %.clean.bc from being deleted + +$(PROG).bc: $(OBJS) + $(LLINK) -f $(OBJS) -o $@ + +$(PROG).native: $(OBJS:.o=.c) + gcc -o $@ $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall +endif ## Special target to force target-dependent library to be compiled ## directly to native code. |