I'm using a (somewhat outdated) Microsoft version of nmake, which is usually packaged with visual studio 6.0. (If there's a relevant answer for newer nmake - do let me know, I might consider upgrading).
I wish to alter existing makefile, so that it would not include the dependency list if it is ran with the nmake dpndfull goal, which sh...
Is it possible to export a makefile from a c++ codeblocks project?
If so, how is it done?
Best Regards
...
Using nmake, is it possible to have the makefile build all the .cpp files in the current directory automatically, without having to specify them individually?
So, instead of something like:
O = $(OBJ_DIR)/main.obj
{$(SOURCE_DIR)}.cpp{$(OBJ_DIR)}.obj:
---COMPILE $< HERE---
I'd like to avoid having to specify each obj to make. Can...
When recursively invoking nmake, via the $(MAKE) macro, how can I pass on the target specified on the command line to the new instance?
So, say I execute the following from the command line:
c:\nmake clean
I want the recursive call to nmake to pass the 'clean' target to the new nmake instance.
...
I have the following PHONY target in Makefile
install:
echo /usr/bin/shelldecrypt must be writable
cp shelldecrypt /usr/bin
When I run the target it displays the command it is executing
prompt> make install
OUTPUT IS
echo /usr/bin/shelldecrypt must be writable
/usr/bin/shelldecrypt must be writable
c...
I know about CMake and bakefile already, but that is not what I am looking for.
Is there a tool that will generate a makefile given a VC project? (or at least a first attempt at one) so I don't have to do all the work by hand?
Alternatively, is there a tool that makes CMake files?
Edit:
Following the link below leads me to this:...
I've just written a Makefile to build a shared library, similar to the following:
libmystuff.so: CFLAGS+=-fPIC -shared
libmystuff.so: libmystuff.o otherstuff.o
$(CC) $(CFLAGS) -o $@ $^
I like to avoid doing explicit actions when this seems like a common operation, but it seems there's no implicit rule or other built-ins to standar...
Often when I'm working on a project with others, the amount of library paths and include paths that get sourced by the compiler in the Makefile get more numerous as time goes by. Also the paths can get very long as well.
Here's an example:
g++ -c -pipe -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS
-DQT_LITE_UNICODE -DQT_NO_LIB...
hi,
I am in a big problem ..i have compiled my c files using linux make file in Linux OS.
I want to compile the same files in Windows using the same make file by command prompt. For that i have nmake utility and Cygwin utility too.
I have done that successfully with simple programs with simple make file ..
But it is not possible to c...
hi...
i would like to know if it's possible to know once a kernel is configured which files are going to be compiled and in what order ?
I want to know that because i'm interested in the variations of the building process according to the architecture and i don't want to have as many toolchains as architecture...
thanks
...
The question is probably not the best one to describe my issue but I couldn't think of a better one. My makefile goes like this:
PROGRAM_NAME = prog
OBJECT_FILES = $(PROGRAM_NAME).o
CFLAGS = -O2 -Wall -g
$(PROGRAM_NAME) : $(OBJECT_FILES)
gcc $(CFLAGS) -o $@ $(OBJECT_FILES)
$(PROGRAM_NAME).o : $(PROGRAM_NAME).c data.h
gcc $(CF...
I need to write some MAKEFILEs, but know nothing about them. Will someone please post some links to tutorials on how to create these wonderful files? I would like to study the basics of MAKEFILEs, from the beginning...
...
I'd like to be able to use Vim omni-completion in Makefiles, so that I can get auto-complete for target dependencies and such. Anybody know how to do this?
...
Hi ,
When i am compiling my code with makefiles(I have 12 makefiles) there is an error telling
"make.exe[1]: Leaving directory Error 2" whats the reason for this..?
Also what is the "Error 2 or Error 1 " mean...?
Regards
Renjith G
...
I have a folder named 'X'. In X I have two subfolders named 'src' and 'include'.
The 'src' folder contains a C file 'main.c', and the 'include' folder contains a file 'main.h'.
I want to write a makefile to build these files(from folder X) in windows command prompt.
I have tried a lot but with no effect.
First of all I need the make fi...
Can anybody please tell what's "Error 127", while am compiling my source with a makefile?
For example (sorry about the whitespace; copied from comment)
...
I want to know a parameter which is an indicator of the current OS. If am supporting Windows and Linux, how can I get a system parameter which differentiates the OS types. This for an OS independent makefile which runs both in Windows and Linux by checking the parameter in an 'if'.
...
hi ,
D:\usr\xtensa\XtDevToolsDE\install\builds\RB-2008.4-win32\DC_108mini\examples\XTMP>make
Makefile:168: *** missing separator. Stop.
Regards
Rg
...
Does anybody know how to generate Make File in Visual Studio C# 2008 Express Edition?
...
Can anybody help me?
gcc -o uartsim.exe xtmpmain.o uartsim.o fiber_driver.o xtmp_options.o getopt.o D:\usr\xtensa\XtDevToolsDE\install\tools\RB-2008.4-win32\XtensaTools\lib\iss\xtmp.lib
gcc: xtmpmain.o: No such file or directory
make: *** [uartsim.exe] Error 1
...