[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple Compiler Options
From: |
Erin Hodgess |
Subject: |
Multiple Compiler Options |
Date: |
Mon, 9 Aug 2021 13:21:35 -0600 |
Hello:
I am using Emacs with Fortran to compile programs.
I use the following hooks:
(add-hook 'fortran-mode-hook
(lambda ()
(set (make-local-variable 'compile-command)
(concat "gfortran " buffer-file-name " && ./a.out" ) )))
Is there a way to have different compile commands with different options,
please?
Thank you,
Sincerely,
Erin
- Multiple Compiler Options,
Erin Hodgess <=