- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am using the prompt of oneAPI in visual studio code to run some fortran code. I would like to create a makefile to compile + run the code. I create a makefile for my code, but when a try to use the make command in the command prompt of OneAPI says that make command is not found. Do you know how can I use a makefile, if it is possible? Or which is the best way to compile + run the .exe without doing separately.
PS. Fortran and the compiler works fine. If a compile and after run the .exe works fine, but I would like to do it in one step.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm going to assume this is on Windows. "make" is not a tool provided by Microsoft on Windows, including VS Code. A similar tool called nmake is provided, but the makefile syntax is a bit different. You could also install cmake from an external source. Intel does not provide any of these.
Typically, on Windows one would use a .bat file for this.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page