Skip to content

Makefile Upgrade#1

Open
milfeld wants to merge 2 commits intomjohn218:masterfrom
milfeld:master
Open

Makefile Upgrade#1
milfeld wants to merge 2 commits intomjohn218:masterfrom
milfeld:master

Conversation

@milfeld
Copy link
Copy Markdown

@milfeld milfeld commented Jan 7, 2021

Changes work on TACC's Frontera machine and Mac (OS X).

  • Uses VPATH for finding cpp file in different directories -- this simplifies rules
  • Aborts if gsl-config isn't available
  • Fixed (INTEL) compiler search 0=found | 1=notfound ; makes conditional simple (ifeq 0|1)
  • Also uses conditional for GCC
  • For objects, uses basename to get base file name
  • Cleaned up directory prefix (shorten variable names and group)
  • Simplified obj and bin rule logic and readability.
  • put rules in canonical order
    -- now the makefile looks a bit cleaner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant