Top "Gnu-make" questions

This tag is for questions about `gmake`, the GNU version of the `make` utility to maintain and update programs.

How do you get the list of targets in a makefile?

I've used rake a bit (a Ruby make program), and it has an option to get a list of all …

makefile gnu-make targets
Makefile - missing separator

Possible Duplicate: Make error: missing separator Have this code in makefile: PROG = semsearch all: $(PROG) %: %.c gcc -o $@ $< -lpthread …

makefile gnu-make
How to place object files in separate subdirectory

I'm having trouble with trying to use make to place object files in a separate subdirectory, probably a very basic …

makefile gnu-make
ldconfig error: is not a symbolic link

When running: sudo /sbin/ldconfig the following error appears: /sbin/ldconfig: /usr/local/lib/ is not a symbolic link When …

linux linker makefile gnu-make
Error in make command makefile:18: *** missing separator. Stop

For the following make file copied below, I am getting the missing separator error. Nothing seems to be wrong with …

makefile gnu-make
Debugging GNU make

Is there a command line way in make to find out which of the prerequisites of a target is not …

debugging makefile gnu-make
Getting make to create object files in a specific directory

GNU Make 3.82 gcc 4.7.2 c89 I have the following make file: INC_PATH=-I/home/dev_tools/apr/include/apr-1 LIB_…

makefile gnu-make
What is the difference between gmake and make?

I am trying to understand the difference between 'gmake' and 'make'? On my linux box they are identical: % gmake --version …

build makefile gnu-make
Run make in each subdirectory

I have a directory (root_dir), that contains a number of sub-directories (subdir1, subdir2, ...). I want to run the make …

makefile gnu-make
What does @: (at symbol colon) mean in a Makefile?

What does the following do in a Makefile? rule: $(deps) @: I can't seem to find this in the make manual.

makefile gnu-make