Skip to content

Commit

Permalink
Add support for "preprocessed FORTRAN" source *shudder*
Browse files Browse the repository at this point in the history
llvm-svn: 26423
  • Loading branch information
sampo3k committed Feb 28, 2006
1 parent 2421391 commit 97cfa09
Show file tree
Hide file tree
Showing 2 changed files with 2,735 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.nagfortran
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ clean::
$(F95) -w -S -O2 $< -o $@ $(NAGFORTRAN_FLAGS)

%.f: %.F
$(CPP) -x c $< -o - $(CPPFLAGS) -traditional-cpp | $(SED) '/^# /d' > $@
$(LEVEL)/filepp $< -o $@ -M $(SPEC_BENCH_DIR)/src/ $(FPPFLAGS)

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

%.f90: %.F90
$(CPP) -x c $< -o - $(CPPFLAGS) -traditional-cpp | $(SED) '/^# /d' > $@
$(LEVEL)/filepp $< -o $@ -M $(SPEC_BENCH_DIR)/src/ $(FPPFLAGS)

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

0 comments on commit 97cfa09

Please sign in to comment.