Skip to main content

Questions tagged [makefile]

The tag has no usage guidance.

549 votes
14 answers
527k views

How do I make rm not give an error if a file doesn't exist?

I'm writing a makefile that will clean up some useless files at the end of the compilation. If a target has already been made, it will of course skip that target and the useless file may not be there....
Jason Baker's user avatar
  • 8,682
83 votes
5 answers
128k views

How to run make file from any directory?

In order to run make file, I am supposed to go to the make file's directory and from there only I can run the make file. How can I do the same even if i am in any directory?
Dinesh's user avatar
  • 1,009
12 votes
4 answers
79k views

How to use makefiles on Windows

I have a LaTeX project using make files for compilation and want to write the texts on Windows using Kile. I had a quick look on google but only really came up with Make for Windows the last version ...
black_puppydog's user avatar
2 votes
1 answer
799 views

Installing HPL, makefile problems

I've followed this guide up until step 5. When I run $make arch=intel64 it gives me the following output: make -f Make.top startup_dir arch=intel64 make[1]: Entering directory `/hpl-2.0' Make....
zr00's user avatar
  • 321