- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
In my program, I need to call some library subroutines from NAG and/or MKL, how do I write the Makefile in this case? Any good tutorial on the internet? Many thanks
Link kopiert
1 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
A Google of "makefile tutorial ldflags" returns a pretty healthy list of possible tutorials.
Some related standard macros to look for are: LDFLAGS, LIBDIR, LIBS
One (here) offers a method for setting up different macro definitions using conditional directives related to the name of the compiler. That concept could be applied/extended to control linking of NAG or MKL.
The one(here) seems like a very nice tutorial too.
Hope it helps.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite