Commit 7b883f63395e8c714d4253ddcd969d434d72a040

Authored by Perry Werneck
1 parent b7f6660f
Exists in master and in 1 other branch develop

Finalizing MSVC based build.

Showing 3 changed files with 11 additions and 6 deletions   Show diff stats
build.bat 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +@echo off
  2 +nmake /f win\Makefile.msc
... ...
clean.bat 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +@echo off
  2 +nmake /f win\Makefile.msc clean
... ...
win/Makefile.msc
... ... @@ -69,13 +69,13 @@ OBJ_FILES= \
69 69  
70 70 .cc.obj:
71 71 @echo Compiling...
72   - $(CPP) \
  72 + @$(CPP) \
73 73 /c \
74   - /DPACKAGE_NAME=ipc3270 \
  74 + /DPACKAGE_NAME=\"ipc3270\" \
75 75 /DPRODUCT_NAME=$(PRODUCT_NAME) \
76 76 /DLIB3270_NAME=$(LIB3270_NAME) \
77   - /DDEBUG=1 \
78   - /I"C:\msys64\project\pw3270\ipc\client\src\include" \
  77 + /DNDEBUG=1 \
  78 + /I".\client\src\include" \
79 79 /I"$(PW3270_SDK_PATH)\include" \
80 80 /EHsc \
81 81 /Fo"$@" \
... ... @@ -85,7 +85,7 @@ testprogram.exe: \
85 85 client\src\testprogram\testprogram.obj \
86 86 ipc3270.dll
87 87 @echo Build exe file....
88   - link \
  88 + @link \
89 89 /nologo \
90 90 /OUT:"$@" \
91 91 client\src\testprogram\testprogram.obj
... ... @@ -93,7 +93,7 @@ testprogram.exe: \
93 93 install: \
94 94 $(OBJ_FILES)
95 95 @echo Building library...
96   - lib \
  96 + @lib \
97 97 /NOLOGO \
98 98 /OUT:"$(PW3270_SDK_PATH)\lib\ipc3270.lib" \
99 99 $(OBJ_FILES)
... ... @@ -127,4 +127,5 @@ clean:
127 127 ipc3270.lib \
128 128 ipc3270.dll \
129 129 $(OBJ_FILES) \
  130 + client\src\core\windows\dynamic\init.obj \
130 131 testprogram.*
... ...