The tool called make is a build manager which compares the last modification times of various files and performs user specified actions (commands) when the "target" files are found to be older than their dependencies. Canonically it is used to build programs, but it can be used to manage any process ...

learn more… | top users | synonyms

0
votes
1answer
24 views

Make - nothing to be done for all (another one)

Make says it has nothing to do for all. I have searche the internet and there are dozens of situations when it says this thing. None of the solutions helped though... I use MinGW, in my directory I ...
0
votes
1answer
7 views

How could I wrap a string around each file, plus include the file name, with make?

I'm not too familiar with makefiles, and the manual confuses me to no end. I've got a situation where I need to wrap text around each file in a directory, and put the filename into the file as well. ...
1
vote
2answers
17 views

Could not find or load main class using makefile

I searched the suggested answers, but i failed to find working answer for me. Makefile compiles everything with any error, but while trying to execute my java program I get error Could not find main ...
0
votes
1answer
9 views

SystemTap failed with error “WARNING: kbuild exited with status: 2”

I built a custom kernel 3.2-41, required kernel-debuginfo-common and kernel-debuginfo packages. I installed these packages on CentOS System with kernel 2.6.32-358. System booted fine with new kernel. ...
2
votes
2answers
30 views

Make - Nothing to be done for - only with file extension

I have a simple c program - hello_world.c As you can tell by the file name i am very very new to c. I would expect to do the following to compile: make hello_world.c But this gives a message: ...
0
votes
1answer
11 views

error in gcc -D option with strings

I'm using a shell that calls a makefile to recompile the same project with different #define options. the shell calls the makefile like this: make UserDefined="-D SomeDefines -D ...
-1
votes
1answer
31 views

Automatic dependency resolution using GNU Makefile

I'm writing a piece of software that utilizes a Makefile for compilation, originally I had a rule setup for each file however this proved to be too cumbersome whenever I added a new file. To try and ...
0
votes
1answer
10 views

how to add OR to ifeq?

I've got this line in a makefile: ifeq ($(filter -O2,$(BUILD_CXXFLAGS)),) SOME_VAR := ... endif I'd like to change it to filter both -O2 and -O3. What would that look like?
0
votes
3answers
17 views

How do I create the final executable file using `make`?

I am trying to write a makefile for a small project which uses GTK libraries. # Compiler cc = gcc #Options for Development CFLAGS = `pkg-config --cflags --libs gtk+-2.0` all: pss pss : main.o ...
0
votes
1answer
10 views

Not able to generate executable using makefile

I am trying to clean and make the executable using makefile, but I get the following error when I try to do the same. Makefile:70: * missing separator (did you mean TAB instead of 8 spaces?). Stop. ...
0
votes
0answers
9 views

How do I use SPHINXOPTS to trigger the only directive when invoking Sphinx with a Makefile?

I am generating a PDF via Sphinx using the autogenerated Makefile. I usually generate it using: make latexpdf However, I am now including the only directive, so that some sections appear ...
0
votes
1answer
15 views

parallel make: two targets depend on the same prerequisite, what happens?

I need to build sources to binary file and two a static library. Here is an example (I replaced recipes with ';' for brevity): objects := a.o b.o ... .PHONY: all build build_lib all: build build_lib ...
0
votes
0answers
14 views

Configuration error of the GMP library for the android platform

I'm trying to compile GMP for android (arm) but I'm received a very strange error. First, I set up a few things as described another SO question here: export NDKROOT=/prod/ndk ...
1
vote
2answers
60 views

Launch make in vim without leaving vim

":make" is useful in vim for comping the program get the program with copen, but when you launch make, the screen will return back to shell and wait until the make finish, is there any way I can ...
0
votes
0answers
30 views

sh error for long command passed from make.exe on cygwin

I have a makefile with a long shell command and when I run make the shell gives the following error /usr/bin/sh: -c: line 5: syntax error: unexpected end of file I'm using the mingw make.exe v3.82 ...

1 2 3 4 5 206
15 30 50 per page