Changes in makefile.mingw to support Allegro 4.4 lib names.

This commit is contained in:
David Capello 2010-07-14 20:01:32 -03:00
parent 14531b1621
commit ec06ad824f

View File

@ -15,14 +15,23 @@ endif
# Flags for MinGW
# CFLAGS = -D_WIN32_WINNT=0x0500
CFLAGS =
LFLAGS = -mwindows -lshlwapi
CFLAGS =
LFLAGS = -mwindows
ifdef DEBUGMODE
LFLAGS_LAST = -lalld -lpsapi -lwininet
LFLAGS_LAST = -lalld -lpsapi
else
LFLAGS_LAST = -lalleg -lwininet
ifdef STATIC_ALLEG_LINK
CFLAGS += -DALLEGRO_STATICLINK
LFLAGS_LAST = -lalleg -ldinput8 -lddraw -ldxguid -ldsound
else
LFLAGS_LAST = -lalleg44.dll
endif
endif
LFLAGS_LAST += -lUser32 -lShell32 -lComCtl32 -lComDlg32 -lGdi32 \
-lMsimg32 -lWinMM -lAdvAPI32 -lOle32 -lShLwApi -lVfw32 \
-lwininet
WITHICON = 1
######################################################################