I try to "port" a nmake-makefile to a gnu-makefile (MinGW).

There is a line
!include "../../../Build.mak"

I modified it to
include "../../../Build.mak"

Then make says
makefile.gcc:152: "../../../Build.mak": Invalid argument
mingw32-make: *** No rule to make target `"../../../Build.mak"'.  Stop.

The included file looks quite complex. Here are just the first 12 lines of it
!IFDEF CPU
LIBS = $(LIBS) bufferoverflowU.lib
CFLAGS = $(CFLAGS) -GS- -Zc:forScope
!ENDIF

!IFNDEF O
!IFDEF CPU
O=$(CPU)
!ELSE
O=O
!ENDIF
!ENDIF

I am not sure but I think make won't like the !IFDEF expressions?

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to