Commit e2c9b771b097c38215c794f66a9e2ca29248349e
1 parent
b21ecd7a
Exists in
master
and in
1 other branch
Using .mak from pw3270 sdk.
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
win/Makefile.msc
@@ -24,8 +24,9 @@ | @@ -24,8 +24,9 @@ | ||
24 | # erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) | 24 | # erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) |
25 | # | 25 | # |
26 | 26 | ||
27 | -PRODUCT_NAME=pw3270 | ||
28 | -LIB3270_NAME=lib3270 | 27 | +PW3270_SDK_PATH=c:\Program Files\pw3270\sdk |
28 | + | ||
29 | +!include "$(PW3270_SDK_PATH)\def\lib3270.mak" | ||
29 | 30 | ||
30 | OBJ_FILES= \ | 31 | OBJ_FILES= \ |
31 | client\src\core\abstract.obj \ | 32 | client\src\core\abstract.obj \ |
@@ -77,7 +78,7 @@ OBJ_FILES= \ | @@ -77,7 +78,7 @@ OBJ_FILES= \ | ||
77 | /DLIB3270_NAME=\"$(LIB3270_NAME)" \ | 78 | /DLIB3270_NAME=\"$(LIB3270_NAME)" \ |
78 | /DDEBUG=1 \ | 79 | /DDEBUG=1 \ |
79 | /I"C:\msys64\project\pw3270\ipc\client\src\include" \ | 80 | /I"C:\msys64\project\pw3270\ipc\client\src\include" \ |
80 | - /I"c:\Program Files\pw3270\sdk\include" \ | 81 | + /I"$(PW3270_SDK_PATH)\include" \ |
81 | /EHsc \ | 82 | /EHsc \ |
82 | /Fo"$@" \ | 83 | /Fo"$@" \ |
83 | $< | 84 | $< |
@@ -106,7 +107,7 @@ ipc3270.dll: \ | @@ -106,7 +107,7 @@ ipc3270.dll: \ | ||
106 | 107 | ||
107 | $(LIB3270_NAME).lib: | 108 | $(LIB3270_NAME).lib: |
108 | lib \ | 109 | lib \ |
109 | - /def:"c:\Program Files\pw3270\sdk\def\lib3270.def" \ | 110 | + /def:"$(PW3270_SDK_PATH)\def\lib3270.def" \ |
110 | /out:$(LIB3270_NAME).lib | 111 | /out:$(LIB3270_NAME).lib |
111 | 112 | ||
112 | clean: | 113 | clean: |