An utility that automates build processes, used mainly to build software on Unix-like systems.
Questions tagged [make]
300 questions
85
votes
5 answers
What does 'make install' do?
Moving from Windows to Linux, I am unable to understand the process of installing software in Linux. In Windows, when we run an installation file, it asks where you wish to install the program, most probably in program files folder only. Later, it…
KawaiKx
- 1,123
- 2
- 9
- 15
73
votes
4 answers
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
- 909
- 1
- 7
- 12
50
votes
1 answer
sh: make: not found
I got the following error message:
sh: make: not found
I guess I need to install make, or a compiler on my Ubuntu 9.04
Could you tell me what I exactly need to type to install it?
aneuryzm
- 2,105
- 10
- 37
- 46
35
votes
8 answers
Where do I find nmake for Windows 7 x64
I'm trying to compile a Perl source and I can't seem to find a version of nmake that works with Windows 7 64 bit. I've searched all over Microsoft's website and my Googlefu seems to be failing me. Can I use a different compiler- if so…
manyxcxi
- 508
- 1
- 4
- 8
34
votes
5 answers
Using make from Windows PowerShell
Under Linux, sources of projects commonly come with Makefile's. Makefiles contain directives to build these projects using the command make. I am currently forced to use Windows, and so as to be able to use this OS I configured and enhanced the…
Malte Skoruppa
- 443
- 1
- 4
- 5
34
votes
3 answers
difference between `make clean` and `make distclean`
I installed ffmpeg from sources with help this page.
https://trac.ffmpeg.org/wiki/CentosCompilationGuide
I noticed that most of this tutorial calls make distclean after make install.
But only libvpx calls make clean after installing.
According this…
ironsand
- 2,179
- 7
- 30
- 48
33
votes
7 answers
make: Interrupt/Exception caught
I'm using Make from the MinGW distribution. It has always worked, but recently I've gotten the following error:
> make clean
make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x0040b0ac)
And the respective part looks like this:
clean:
…
orlp
- 1,517
- 6
- 17
- 26
32
votes
5 answers
Variables in GNU Make recipes, is that possible?
Is it possible to have variables in GNU Make recipes?
Something like this doesn't work:
%_t.mkd : %.mkd
REV=$$(svn info $<|grep 'Last Changed Rev'|cut -f4 -d\ )
echo $${REV}
Is there some way to make that work at all?
As you can see what I…
Magnus
- 4,146
- 3
- 22
- 28
30
votes
2 answers
22
votes
4 answers
Bash extended globbing inside a Makefile
I want to do an operation on all the files in a particular folder that do not start with a particular prefix (say exclude_). I have a bash for loop with an extended glob that looks like this:
for FILE in foo/bar/!(exclude_*) ; do echo $FILE ;…
Timothy Jones
- 349
- 1
- 2
- 7
20
votes
2 answers
How to get Colored Build Output from Make in Sublime Text 3?
How can you get color into the ST3 build output window?
I'm using gccfilter to colorize my build output, but ST3 just displays the raw escape sequences. Is there any way to get it to process them? Or to remove gccfilter and just get ST3 to…
Yeraze
- 627
- 2
- 7
- 9
19
votes
3 answers
How to get `make` to recognize alias command
I am installing MOOG, and when I make -f Makefile.maclap I get the error:
$ make -f Makefile.maclap
g77 -w -c -o Abfind.o Abfind.f
make: g77: No such file or directory
make: *** [Abfind.o] Error 1
After research online, I think that, since I have…
user465786
16
votes
2 answers
Keep color in less after make and pipe
I would like to keep color in less command after using "make 2>&1" to compile some program. There are similar topics with "grep" and "ls" commands but solutions do not work with this command.
For instance,
make 2>&1 | less -R
does not work.
Thanks…
fylou
- 161
- 1
- 3
16
votes
4 answers
How to run Vim command from the shell?
This might be a dumb question, but bear with me.
I'm automating some of the usual stuff I do when setting up a new work environment, and would like to automate the Vim command :BundleInstall (for installing all my Vim plugins).
Is it possible to run…
imiric
- 478
- 2
- 4
- 14
14
votes
3 answers
Compiling C files on Ubuntu and using the executable on Windows
For some odd reason, make kept giving me tabulation errors when compiling on Windows, so I tried it on Ubuntu and it worked just fine.
Now I would like to use the executable I got from compiling on Ubuntu and use it on Windows. However, the file…
hkj447
- 261
- 2
- 7