Fix target output name

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1221 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
kode54 2013-09-24 11:51:36 +00:00
parent a2655200dc
commit d808640113
1 changed files with 5 additions and 3 deletions

View File

@ -11,16 +11,18 @@ else ifneq ($(findstring Darwin,$(shell uname -a)),)
endif endif
endif endif
TARGET_NAME = vbam
ifeq ($(platform), unix) ifeq ($(platform), unix)
TARGET := libvbam-retro.so TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC fpic := -fPIC
SHARED := -shared SHARED := -shared
else ifeq ($(platform), osx) else ifeq ($(platform), osx)
TARGET := libvbam-retro.dylib TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC fpic := -fPIC
SHARED := -dynamiclib SHARED := -dynamiclib
else else
TARGET := vbam-retro.dll TARGET := $(TARGET_NAME)_libretro.dll
LDFLAGS += -Wl,-no-undefined -Wl,--version-script=link.T LDFLAGS += -Wl,-no-undefined -Wl,--version-script=link.T
CC = gcc CC = gcc
CXX = g++ CXX = g++