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

Brian Gaeke gaeke at cs.uiuc.edu
Mon Oct 25 13:21:50 PDT 2004



Changes in directory llvm-test:

Makefile.f2c updated: 1.3 -> 1.4
---
Log message:

Use a better-behaved and more-recent f2c.
Eliminate >&, which does not work in Makefile shell scripts, which are
executed by some flavor of Bourne shell.


---
Diffs of the changes:  (+2 -2)

Index: llvm-test/Makefile.f2c
diff -u llvm-test/Makefile.f2c:1.3 llvm-test/Makefile.f2c:1.4
--- llvm-test/Makefile.f2c:1.3	Fri Oct 15 15:45:18 2004
+++ llvm-test/Makefile.f2c	Mon Oct 25 15:21:35 2004
@@ -16,7 +16,7 @@
 F2C_DIR = /home/vadve/shared/localtools/x86
 else
 	ifeq ($(ARCH),Sparc)
-		F2C_DIR = /usr/dcs/software/unsupported
+		F2C_DIR = /home/vadve/shared/localtools/sparc
 	endif
 endif
 
@@ -28,7 +28,7 @@
 	rm -f $(Source:%.f=%.c)
 
 %.c: %.f
-	$(F2C) $< >& /dev/null
+	$(F2C) $< > /dev/null 2>&1
 	
 CPPFLAGS = -I$(F2C_INC) 
 LDFLAGS += -L$(F2C_LIB) -lf2c






More information about the llvm-commits mailing list