Skip to content

Commit

Permalink
Don't remove .f90/.F90 files from the srcdir!
Browse files Browse the repository at this point in the history
llvm-svn: 26360
  • Loading branch information
lattner committed Feb 24, 2006
1 parent 37a97c4 commit eeb7f70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.nagfortran
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ endif
.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)
Expand Down

0 comments on commit eeb7f70

Please sign in to comment.