Commit 33f9fe8 1 parent 863cf02 commit 33f9fe8 Copy full SHA for 33f9fe8
File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ INCLUDES += -I/usr/include/SDL2 -Icommon -I../common -I. -I../pm_shared -Iclient
57
57
DEFINES = -DUSE_SELECT -DCOLORIZE_CONSOLE -DDEBUGNAN -DXASH_FORCEINLINE -DGDB_BREAK
58
58
59
59
# Specify commit hash in version string
60
+ ifneq ($(XASH_RELEASE),1)
60
61
DEFINES += -DXASH_BUILD_COMMIT=\"$(XASH_COMMIT)\"
62
+ else
63
+ DEFINES += -DXASH_RELEASE
64
+ endif
61
65
62
66
# Enable optimized crt functions for 32-bit systems
63
67
ifneq ($(64BIT),1)
@@ -169,7 +173,7 @@ endif
169
173
170
174
ifeq ($(XASH_DLL_LOADER),1)
171
175
$(LOADER):
172
- $(MAKE) -f ../loader/Makefile.linux -C ../loader $(LOADER)
176
+ $(MAKE) -f ../loader/Makefile.dllloader -C ../loader $(LOADER)
173
177
cp ../loader/$(LOADER) .
174
178
endif
175
179
Original file line number Diff line number Diff line change 81
81
#############################
82
82
DEFINES += -DSINGLE_BINARY -DXASH_FORCEINLINE -DXASH_W32CON -DDBGHELP
83
83
84
+ ifneq ($(XASH_RELEASE),1)
84
85
# Specify commit hash in version string
85
86
DEFINES += -DXASH_BUILD_COMMIT=\"$(XASH_COMMIT)\"
87
+ else
88
+ DEFINES += -DXASH_RELEASE
89
+ endif
86
90
87
91
# Enable optimized crt functions for 32-bit systems
88
92
ifneq ($(64BIT),1)
Original file line number Diff line number Diff line change 1
1
set SDL_PATH = ../SDL2-2.0.8
2
- cl -Dvsnprintf=_vsnprintf -o xash_sdl.dll /DEBUG /Zi /DLL /W3 /Gm /GD /G6 /LD /O2 /MD /O2 /D_USRDLL /DXASH_FORCEINLINE /DXASH_W32CON /DXASH_FASTSTR /D_WINDLL common\*.c client\*.c server\*.c client\vgui\*.c common\soundlib\*.c common\soundlib\libmpg\*.c common\imagelib\*.c platform\sdl\*.c platform\win32\*.c -I ../ports/msvc6/ -I %SDL_PATH% /include/ -Icommon -I../common -I. -I../pm_shared -Iclient -Iserver -Iclient/vgui -Icommon/sdl -DXASH_VGUI -DXASH_SDL -Dsnprintf=_snprintf -DDBGHELP /link /DLL /LIBPATH:..\ports\msvc6 user32.lib shell32.lib gdi32.lib msvcrt.lib winmm.lib /nodefaultlib:" libc.lib" /subsystem:windows %SDL_PATH% /lib/x86/SDL2.lib kernel32.lib winspool.lib comdlg32.lib advapi32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /DEBUG
2
+ cl -Dvsnprintf=_vsnprintf -o xash_sdl.dll /DEBUG /Zi /DLL /W3 /Gm /GD /G6 /LD /O2 /MD /O2 /D_USRDLL %* /DXASH_FORCEINLINE /DXASH_W32CON /DXASH_FASTSTR /D_WINDLL common\*.c client\*.c server\*.c client\vgui\*.c common\soundlib\*.c common\soundlib\libmpg\*.c common\imagelib\*.c platform\sdl\*.c platform\win32\*.c -I ../ports/msvc6/ -I %SDL_PATH% /include/ -Icommon -I../common -I. -I../pm_shared -Iclient -Iserver -Iclient/vgui -Icommon/sdl -DXASH_VGUI -DXASH_SDL -Dsnprintf=_snprintf -DDBGHELP /link /DLL /LIBPATH:..\ports\msvc6 user32.lib shell32.lib gdi32.lib msvcrt.lib winmm.lib /nodefaultlib:" libc.lib" /subsystem:windows %SDL_PATH% /lib/x86/SDL2.lib kernel32.lib winspool.lib comdlg32.lib advapi32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /DEBUG %*
You can’t perform that action at this time.
0 commit comments