Skip to content

Commit

Permalink
add support for files with the .f90 suffix, pass extra link options to
Browse files Browse the repository at this point in the history
build programs correctly

llvm-svn: 22477
  • Loading branch information
lattner committed Jul 20, 2005
1 parent 1e5d455 commit 279045d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.nagfortran
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@ clean::
%.c: %.f
$(F95) -w -S -O2 $< -o $@ $(NAGFORTRAN_FLAGS)

%.c: %.f90
$(F95) -w -S -O2 $< -o $@ $(NAGFORTRAN_FLAGS)


CPPFLAGS = -I$(F95_DIR)/lib/NAGWare
LDFLAGS += $(F95_DIR)/lib/NAGWare/libf97.dylib $(F95_DIR)/lib/NAGWare/libf96.a
LDFLAGS += $(F95_DIR)/lib/NAGWare/quickfit.o -Xlinker -flat_namespace $(F95_DIR)/lib/NAGWare/libf97.dylib $(F95_DIR)/lib/NAGWare/libf96.a

0 comments on commit 279045d

Please sign in to comment.