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

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 24 11:11:56 PST 2006



Changes in directory llvm-test:

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

Don't remove .f90/.F90 files from the srcdir!


---
Diffs of the changes:  (+3 -1)

 Makefile.nagfortran |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm-test/Makefile.nagfortran
diff -u llvm-test/Makefile.nagfortran:1.3 llvm-test/Makefile.nagfortran:1.4
--- llvm-test/Makefile.nagfortran:1.3	Tue Jul 19 20:13:42 2005
+++ llvm-test/Makefile.nagfortran	Fri Feb 24 13:11:45 2006
@@ -30,7 +30,9 @@
 .PRECIOUS: %.c
 
 clean::
-	rm -f $(Source:%.f=%.c)
+	rm -f $(patsubst %.f,%.c, $(filter %.f,$(Source))) \
+	      $(patsubst %.f90,%.c, $(filter %.f90,$(Source))) \
+	      $(patsubst %.F90,%.c, $(filter %.F90,$(Source)))
 
 %.c: %.f
 	$(F95) -w -S -O2 $< -o $@ $(NAGFORTRAN_FLAGS)






More information about the llvm-commits mailing list