Modified makefile.vc to match Allegro 4.4 library names.

This commit is contained in:
David Capello 2010-06-24 09:45:43 -03:00
parent 51e57aeb34
commit 4868854d2a

View File

@ -45,11 +45,11 @@ ifdef DEBUGMODE
ifdef STATIC_ALLEG_LINK ifdef STATIC_ALLEG_LINK
CFLAGS += -Zi -MTd -DDEBUGMODE -DALLEGRO_STATICLINK CFLAGS += -Zi -MTd -DDEBUGMODE -DALLEGRO_STATICLINK
LFLAGS += -DEBUG LFLAGS += -DEBUG
LIBS += alld_s_crt.lib psapi.lib LIBS += alleg-debug.lib psapi.lib
else else
CFLAGS += -Zi -MDd -DDEBUGMODE CFLAGS += -Zi -MDd -DDEBUGMODE
LFLAGS += -DEBUG LFLAGS += -DEBUG
LIBS += Alld.lib psapi.lib LIBS += alleg44-debug.lib psapi.lib
endif endif
else else
ifdef RELEASE ifdef RELEASE
@ -58,20 +58,20 @@ else
ifdef STATIC_ALLEG_LINK ifdef STATIC_ALLEG_LINK
CFLAGS += -MT -DALLEGRO_STATICLINK CFLAGS += -MT -DALLEGRO_STATICLINK
LIBS += Alleg_s_crt.lib LIBS += alleg.lib
else else
CFLAGS += -MD CFLAGS += -MD
LIBS += Alleg.lib LIBS += alleg44.lib
endif endif
else else
# Release with debug info # Release with debug info
CFLAGS += -Zi -O2 -MD -DNDEBUG CFLAGS += -Zi -O2 -MD -DNDEBUG
LFLAGS += -DEBUG LFLAGS += -DEBUG
LIBS += Alleg.lib LIBS += alleg44.lib psapi.lib
LIBS += psapi.lib
endif endif
endif endif
# Using static version of Allegro? Include DirectX libs
ifdef STATIC_ALLEG_LINK ifdef STATIC_ALLEG_LINK
LIBS += dinput8.lib ddraw.lib dxguid.lib dsound.lib LIBS += dinput8.lib ddraw.lib dxguid.lib dsound.lib
endif endif