diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-25 22:26:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-25 22:26:17 +0000 |
commit | bb234685ecbb5f3ad3e80c02d6dc8e63f5c89f11 (patch) | |
tree | 24fcec0b1806edc0733415627bf8a50a78965abf | |
parent | b8d6e590f19f6b1c42e09f20c56828af6430667c (diff) | |
download | bcm5719-llvm-bb234685ecbb5f3ad3e80c02d6dc8e63f5c89f11.tar.gz bcm5719-llvm-bb234685ecbb5f3ad3e80c02d6dc8e63f5c89f11.zip |
Simplify some makefile magic, no functional changes
llvm-svn: 7336
-rw-r--r-- | llvm/test/Makefile.tests | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/llvm/test/Makefile.tests b/llvm/test/Makefile.tests index b9040bc5dc6..bb2bb881f1f 100644 --- a/llvm/test/Makefile.tests +++ b/llvm/test/Makefile.tests @@ -1,6 +1,8 @@ ##----------------------------------------------------------*- Makefile -*-===## +## ## Common rules for generating, linking, and compiling via LLVM. This is ## used to implement a robust testing framework for LLVM +## ##-------------------------------------------------------------------------===## # If the user specified a TEST= option on the command line, we do not want to do @@ -65,22 +67,17 @@ CP = /bin/cp -f ## If TRACE or TRACEM is "yes", set the appropriate llc flag (-trace or -tracem) ## mark that tracing on, and set the TRACELIBS variable. TRACEFLAGS = -DOTRACING = ifeq ($(TRACE), yes) - TRACEFLAGS += -trace - DOTRACING = yes -else - ifeq ($(TRACEM), yes) - TRACEFLAGS += -tracem - DOTRACING = yes - endif -endif -ifdef DOTRACING + TRACEFLAGS = -trace TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH) endif +ifeq ($(TRACEM), yes) + TRACEFLAGS = -tracem + TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH) +endif -LLCLIBS := $(LLCLIBS) -lm +LLCLIBS += -lm clean:: $(RM) -f a.out core |