Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Add support for "preprocessed FORTRAN" source *shudder*
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@26423 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sampo3k committed Feb 28, 2006
1 parent 5a31069 commit 2adcc54
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 2adcc54

Please sign in to comment.