X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile.wnm;h=8a6ddb4c93260180706fb12506644c1e6faaffb4;hb=HEAD;hp=2e1cb60ac4dbc8083dc52bc2fe35cab4d327f0fe;hpb=730780fea398916176ce07a4b7a54a45c6e6a1f0;p=oss%2Fless.git diff --git a/Makefile.wnm b/Makefile.wnm index 2e1cb60..8a6ddb4 100644 --- a/Makefile.wnm +++ b/Makefile.wnm @@ -3,15 +3,21 @@ #### Start of system configuration section. #### +# Target architectire +# use nmake -f Makefile.wnm ARCH=X64 to override this definition +# Environment variable arch would not override it. +# +ARCH=I386 + CC = cl # Normal flags CFLAGS = /nologo /MD /W3 /EHsc /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -LDFLAGS = /nologo /subsystem:console /incremental:no /machine:I386 +LDFLAGS = /nologo /subsystem:console /incremental:no /machine:$(ARCH) # Debugging flags -#CFLAGS = /nologo /MDd /W3 /GX /Od /Gm /Zi /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c -#LDFLAGS = /nologo /subsystem:console /incremental:yes /debug /machine:I386 +#CFLAGS = /nologo /MDd /W3 /EHsc /Od /Gm /Zi /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c +#LDFLAGS = /nologo /subsystem:console /incremental:yes /debug /machine:$(ARCH) LD = link LIBS = user32.lib