mirror of
https://github.com/david-schmidt/gsport.git
synced 2025-01-04 19:29:29 +00:00
Fixing up some build artifacts for Windows
This commit is contained in:
parent
2992da09d6
commit
9d3d2e79d3
@ -5,7 +5,7 @@ CCOPTS = -O2 -DGSPORT_LITTLE_ENDIAN -DHAVE_TFE -DWIN_SOUND -DHAVE_SDL -DWIN32 -D
|
||||
CPPOPTS = -O2 -DGSPORT_LITTLE_ENDIAN -DHAVE_TFE -DHAVE_SDL -DWIN32 -D_WIN32 -D__USE_W32_SOCKETS -I /usr/include/freetype2 -I/usr/include/SDL
|
||||
SUFFIX = ".exe"
|
||||
NAME = gsport
|
||||
EXTRA_LIBS = -lSDL -lfreetype -lcomdlg32
|
||||
EXTRA_LIBS = -lSDL -lfreetype -lcomdlg32 -lShlwapi
|
||||
|
||||
XOPTS = -Wall -fomit-frame-pointer -march=pentium
|
||||
XLIBS =
|
||||
|
@ -62,7 +62,7 @@ void get_cwd(LPTSTR buffer, int size)
|
||||
HMODULE hSelf;
|
||||
hSelf = GetModuleHandle(NULL);
|
||||
GetModuleFileName(hSelf,buffer,size);
|
||||
//PathRemoveFileSpec(buffer);
|
||||
PathRemoveFileSpec(buffer);
|
||||
printf("Local directory: [%s]\n",buffer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user