Fix target output name

This commit is contained in:
kode54 2013-09-24 11:51:36 +00:00
parent 7654a7b1ed
commit ae81a99e81
1 changed files with 5 additions and 3 deletions

View File

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