# # Modification History # # 2003-November-2 Jason Rohrer # Created. # # 2003-November-10 Jason Rohrer # Removed pthread flag. # Changed LINUX flag to WIN_32 flag. # Added wsock32 library flag. # ## # The common MinGW (GNU for Win32) portion of Makefiles. # Should not be made manually---used by configure to build Makefiles. ## # static lib flag needed to link compiled objs against miniupnp PLATFORM_COMPILE_FLAGS = -DWIN_32 -DSTATICLIB # need various GL libraries, winmm, and portaudio # -mwindows tells mingw to hide the dos command window on launch PLATFORM_LINK_FLAGS = -lopengl32 -lglu32 -lmingw32 -lSDLmain -lSDL -mwindows -lwsock32 -lpng -lz # All platforms but OSX support g++ and need no linker hacks GXX = g++ LINK_FLAGS = # don't build icon.o when make invoked with no arguments! all: SleepIsDeath icon.o: ../build/win32/icon.ico ../build/win32/icon.rc cp ../build/win32/icon.ico ../build/win32/icon.rc . windres -i icon.rc -o icon.o ICON_FILE = icon.o ## # Platform-specific minorGems file path prefixes ## PLATFORM = Win32 PLATFORM_PATH = win32 TIME_PLATFORM = Win32 TIME_PLATFORM_PATH = win32 DIRECTORY_PLATFORM = Win32 DIRECTORY_PLATFORM_PATH = win32