Questions tagged [makefile]
The makefile tag has no usage guidance.
85
questions
0
votes
1
answer
2k
views
Linux - make install without replacing symlinks
I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the --prefix=...
0
votes
2
answers
3k
views
./xsum: Permission denied make: *** [xsum.out] Error 126
I am trying to insall f2c/f77 compiler on mac osx using the instructions given http://www.webmo.net/support/fortran_osx.html and I get the following error :
./xsum: Permission denied
make: *** [xsum....
2
votes
1
answer
4k
views
Removing multiple files from directory, as specified by variable in Makefile
I have a Makefile with the following configured for installing man pages
MANDIR = /usr/share/man/man1
MANPAGES = exec1.1 exec2.1
make install triggers the following:
install: $(MANPAGES)
...
0
votes
0
answers
857
views
"chown" for "make install" command?
On my Linux server, I accidentally executed sudo make install for an application install. I intended to execute make install without sudo privilege.
How do I change the ownership of all installed ...
1
vote
1
answer
244
views
Is there any way to see make file with all variables substituted
I have huge long makefile written by some other guy, where all coomands contain variables.
In order to decode what this command is doing i have look around what that variable is and its taking too ...
0
votes
1
answer
80
views
Need assistance with understanding this make file for debian linux
I have this code in make file and i could not get it
CHECK=dpkg -L $1 2>&1 >$(NULL) || $(APT) install -y $1
install.dpkg.%:
$(call CHECK,$*)
I want to know
I have read that $* means ...
0
votes
1
answer
1k
views
make does not show option on pressing tab on centos
In my office i have ubuntu where in my project folder i have Makefile.
If i got to folder and then press make and then tab then it shows all option but at my home
i am pressing table after Make and ...
0
votes
1
answer
111
views
How can i get simple makefile tutorial without compilers [closed]
In my project our coder have written the makefile for installing and deploying the web application like
make install.php
which then contain instructions to install it.
I am searching google and you ...
1
vote
1
answer
1k
views
Android makefiles(.mk) documentation [closed]
I want to learn about android makefiles. How to write and modify them. Could you please guide me to the official android documentation related to this? Also Other helping resources would be of great ...
0
votes
1
answer
44
views
Structure of make files for automatic installation
We are doing one project and our contractor is taking care of installing all things required to install in linux.
he has make file for that.
That file is very big and he has used verious constants ...
3
votes
1
answer
5k
views
Is it possible to compile with make.inc and Makefile
I am a newbie to the use of make files.
I have added a new module in project using make.inc
The structure of project is like:-
/Project/build.sh
/Project/make.inc
/Project/Module1/Makefile
/...
1
vote
2
answers
418
views
Configure Makefile
I am trying to create a file Makefile to use with make so I can compile my codes faster.
What I would like to do is just type in the terminal:
make dev myOutputName
And it should run:
gcc -Wall -...
29
votes
3
answers
28k
views
How to setup vim to edit both Makefile and normal code files with two different types of indentation?
I am using Mac OSX 10.7.5, the contents of .vimrc is as follow:
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set shiftround
set smarttab
set autoindent
set copyindent
...
0
votes
1
answer
112
views
losetup Find in Parallel / Concurrency
I'm writing a makefile that at some point builds image files. I'm using losetup -f in the file to find a free loop device when building out each image. Since the images are independent of each other,...
0
votes
1
answer
588
views
How can I get the name of an executable from a makefile?
I'm trying to configure vim to run "make debug" (which adds the '-g' flag to the rest of the CFLAGS), and then use Pyclewn to run "Cfile $filename here$" and then run it. This will allow me to quickly ...