From ec06ad824fbf19dc2737e4e629d53c982d2c24ba Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 14 Jul 2010 20:01:32 -0300 Subject: [PATCH] Changes in makefile.mingw to support Allegro 4.4 lib names. --- makefile.mingw | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/makefile.mingw b/makefile.mingw index 2ae982d64..97b5384a0 100644 --- a/makefile.mingw +++ b/makefile.mingw @@ -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 ######################################################################