forked from llvm/llvm-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.FORTRAN
29 lines (26 loc) · 849 Bytes
/
Makefile.FORTRAN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##===- Makefile.FORTRAN ------------------------------------*- Makefile -*-===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===------------------------------------------------------------------------===#
#
# Enable running FORTRAN programs with LLVM using any available FORTRAN support.
#
##===----------------------------------------------------------------------===##
include $(LEVEL)/Makefile.config
# Make sure the correct targets come first.
ifdef TEST
test::
else
all::
endif
# Include the correct Makefile given how FORTRAN is currently being supported.
ifeq ($(USE_F95),1)
include $(LEVEL)/Makefile.nagfortran
else
ifeq ($(USE_F2C),1)
include $(LEVEL)/Makefile.f2c
endif
endif