nmake

Creating dll from cpp files with nmake.

Hi. There is a problem: i need to compile the dll from all source *.cpp files in a particular folder with a help of nmake. For example, cpp files stored in the folder ".\src", and they must be compiled into one dll. Where i can read about nmake? Or some examples? ...

How similar/different are gnu make, microsoft nmake and posix standard make?

How similar/different are gnu make, microsoft nmake and posix standard make? Obviously there's things like "which OS?", "which compiler?" and "which linker?", but I'm referring specifically to the syntax, semantics and command-line options of the makefiles themselves. If I write makefiles based on manuals for gnu make, what are the mos...

Creating a directed acyclic graph out of recursive nmake makefile?

Hello, As an exercise and in an effort to (better understand|help other people better understand) the build process at my company, I am hoping to create a directed acyclic graph of the build process. The current build process at my work is, as I understand, is essentially running nmake on a makefil at the root build directory. This m...

Qt .pro's transformed into nmake Makefiles can't handle staticlibs, same thing in VS2008 solution works

I've got a buildenvironment based on Qt .pro files transformed to both Visual Studio 2008 solutions and Makefiles (used by nmake). There are about 30 projects, untill recently all compiled into a seperate dll (and the main into an exe). Recently I added a project configured as static lib. Visual Studio links everything just fine. nmake ...

nmake makefile, linking objects files in a subfolder

My makefile defines a link command: prod_link = $(LINK) $(LINK_FLAGS) -o$(PROD_OUT) $(PROD_OBJS) where $(PROD_OBJS) is a list of object files of the form: PROD_OBJS = objfile1.obj objfile2.obj objfile3.obj ... objfileN.obj Now the makefile itself is at the root of my project directory. It gets messy to have object and listing files...

Difference between omake and nmake

Please tell me the difference between omake and nmake. We want to migrate from omake to nmake as we are rolling out clearcase. Please explain the process of migration from omake to nmake? Also please let me know if there are some complications. ...

nmake.exe: is there a way to exclude a file from a set of files specified in a macro?

I'm looking for something like the Exclude filter for msbuild, but I Want it in a makefile processed by nmake. Is that possible? Suppose I have a makefile that defines this macro: SOURCES=xxx.c yyy.c zzz.c and I invoke it with nmake OLD=xxx.c NEW=bbb.c ...can I produce, within the makefile, a macro with a value like: yyy.c zz...

nmake: can a batch file run as a art of a command block, affect the environment of the nmake.exe process?

I think in nmake if I do this: example : set value=77 echo %%value%% The result will display 77 on the console. Is there a way for me to invoke a .cmd or .bat file that will affect the environment of the nmake.exe process? Suppose I put the statement set value=77 in a file called "setvalue.cmd". Then change the ma...

Looking for introduction of nmake & makefile structure

Hi, I am looking for some basic information regarding makefile structure. Any pointers will be highly appreciated. Thanks. ...

How do you access variables using NMake?

I have a makefile with the following code. I'm trying to set a variable in an if statement. It doesn't error, but %OPTION% just prints "%OPTION" (with only one percentage sign) and the $(OPTION) doesn't print anything. Please help RELEASE_OR_DEBUG=debug init: SET OPTION=test @echo test1 = %OPTION% @echo test2 = $(OPTION)...

How to get nmake to push through errors ( behaviour of make -k)

I'm using cmake to generate an nmake build system using the "NMake Makefiles" generator. When I compile, even if I specify "nmake /K", the build stops after the first .cpp file which had an error. I understand that it should not compile targets who have a failed dependency, but several independent source files should be handleable in t...

QT - Build driver plugin QPSQL - problem with nmake

I try build plugin to communicate with postgresql and I use this commands: http://www.ldc.usb.ve/docs/qt/sql-driver.html#qpsql-for-postgresql-version-7-3-and-above (for windows) I have QT4, and gcc 4.3.3 and windows xp First command has been executed without errors, but when i run nmake i have these errors: C:\Qt\2010.03\qt\src\plug...

Error compiling OpenSSL for Win32

I get the following error when trying to build OpenSSL on Win32: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : error C2220: warning treated as error - no 'object' file generated C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : warning C4005: 'EADDRINUSE' : macro redefiniti...

nmake u1034 separator missing

hi, i tried to execute make file with nmake in dos-prompt and got the following message: makefile.in(145) : fatal error U1034: syntax error : separator missing i took a look into the make file and the line 145 says: ifeq (@INSTALINFO_FOUND@,yes) i have absolutely no clue how to fix this ... any ideas? ...

How to access the ProgramFiles environment variable from nmake on x64 machines?

I try to get the path to the ProgramFiles environmental variable, that is supposed to expand to C:\Program Files (x86) on a x64 machine and to C:\Program Files on a x86 machine. The problems is that in the nmake file if I do: all: echo $(PROGRAMFILES) This will expand to C:\Program Files everytime and this is wrong. Environme...

How do I specify include directories using NMake?

I'm trying to use nmake to build the libfcg (http://www.fastcgi.com/), however I'm getting the following error: ..\include\fcgios.h(23) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory I have the Widows SDK installed and the Windows.h file is present in this directory: C:\Program Files\Microsoft S...

building ruby on windows 7

I know this has been asked before but I ran into a specific problem. I'm trying to build ruby 1.9.2 rc2 on windows 7. When I run configure.bat it aborts with the following message. cl -nologo -MD rtname.c user32.lib -link > nul NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. I find that the file 'rtname.c' does not exist an...

Truecrypt 7.0 build

I'm trying to build Truecrypt 7.0 I have build the driver. But I can't build the Boot Project. 1>------ Build started: Project: Boot, Configuration: Release Win32 ------ 1>Performing Makefile project actions 1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe"' : return code '0xc0000135' 1>Stop. T...

Using nmake on OSX?

I'm porting an application to MacOS X - but the original developer's build system uses NMAKE, and ideally they'd like to keep it instead of switching to a new one. I've managed to get NMAKE running under OSX using wine (built using MacPorts) and added Objective C support to the build files, and created a Unix-linked PE wrapper 'run.exe'...

How to share source code when we develop Windows device drivers

TARGETNAME=OneOfMyDrivers TARGETTYPE=DRIVER INCLUDES=..\inc;..\..\Common\Crypto TARGETLIBS=$(SDK_LIB_PATH)\wdmsec.lib SOURCES=OneOfMyDrivers.c \ OneOfMyDrivers.rc\ ..\..\Common\Crypto\aes_modes.c \ ..\..\Common\Crypto\aescrypt.c \ ..\..\Common\Crypto\aeskey.c \ ...