Created
September 9, 2013 13:44
-
-
Save quaat/6495761 to your computer and use it in GitHub Desktop.
Simple project file (no dependency support) for Intel Fortran compilers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NEWLINE = $$escape_expand(\\n\\r\\t) | |
!isEmpty(MODULE_DIR){ | |
MODFLAGS += -J$$MODULE_DIR | |
INCLUDEPATH += $$MODULE_DIR | |
} | |
F90 = ifort | |
MKDIR = $$quote($(MAKEFILE)) | |
release:F90_CFLAGS = /nologo /O2 /threads /MD \ | |
/Qauto /w 5463 /Qoverride-limits \ | |
/fpp # use always preprocessor | |
debug:F90_CFLAGS = /traceback /fpe:0 /check:bounds /check:uninit /fpp | |
fortran.output = $$quote($(OBJECTS_DIR))/${QMAKE_FILE_BASE}$${QMAKE_EXT_OBJ} | |
fortran.obj = $(OBJECTS_DIR) | |
!isEmpty(MODULE_DIR){ | |
fortran.commands += $$quote(@$(CHK_DIR_EXISTS)) $$MODULE_DIR || $$quote($(MKDIR)) $$MODULE_DIR $$escape_expand(\n\t) | |
} | |
# fortran.commands += $$QMAKE_MKDIR $${MODULE_DIR} $$escape_expand(\n\t) | |
fortran.commands += $$F90 -c $$F90_CFLAGS ${QMAKE_FILE_NAME} | |
fortran.commands += $$MODFLAGS | |
fortran.commands += -o $$fortran.obj${QMAKE_FILE_OUT} | |
fortran.commands += $(INCPATH) | |
fortran.input = FSOURCES | |
QMAKE_EXTRA_COMPILERS += fortran |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment