[llvm-commits] CVS: llvm/test/Makefile.tests

Chris Lattner lattner at cs.uiuc.edu
Fri Jul 25 17:27:01 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.70 -> 1.71

---
Log message:

Simplify some makefile magic, no functional changes


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.70 llvm/test/Makefile.tests:1.71
--- llvm/test/Makefile.tests:1.70	Tue Jul  8 18:40:48 2003
+++ llvm/test/Makefile.tests	Fri Jul 25 17:26:17 2003
@@ -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 @@
 ## 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





More information about the llvm-commits mailing list