summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-05 19:43:24 +0000
committerChris Lattner <sabre@nondot.org>2001-11-05 19:43:24 +0000
commit7bb67c8ab8a9e9f39b49d8a56724bacc5f1145ea (patch)
tree9248f15d8b24e2ee0d1787b210e5d4d3629d616e
parent7e89a616e67152b4354fdbded41c80ed9f621748 (diff)
downloadbcm5719-llvm-7bb67c8ab8a9e9f39b49d8a56724bacc5f1145ea.tar.gz
bcm5719-llvm-7bb67c8ab8a9e9f39b49d8a56724bacc5f1145ea.zip
Fix makefile to compile olden and main benchmarks
llvm-svn: 1142
-rw-r--r--llvm/test/Makefile.target26
-rw-r--r--llvm/test/Makefile.tests26
2 files changed, 26 insertions, 26 deletions
diff --git a/llvm/test/Makefile.target b/llvm/test/Makefile.target
index 13c508f045c..df3dc8c86da 100644
--- a/llvm/test/Makefile.target
+++ b/llvm/test/Makefile.target
@@ -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.
diff --git a/llvm/test/Makefile.tests b/llvm/test/Makefile.tests
index 13c508f045c..df3dc8c86da 100644
--- a/llvm/test/Makefile.tests
+++ b/llvm/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.
OpenPOWER on IntegriCloud