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

Commit 2adcc54

Browse files
committed
Add support for "preprocessed FORTRAN" source *shudder*
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@26423 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 5a31069 commit 2adcc54

File tree

2 files changed

+2735
-2
lines changed

2 files changed

+2735
-2
lines changed

Makefile.nagfortran

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ clean::
3939
$(F95) -w -S -O2 $< -o $@ $(NAGFORTRAN_FLAGS)
4040

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

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

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

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

0 commit comments

Comments
 (0)