Merge pull request #54 from yoshisuga/tvos_support
(tvOS) Compile using tvOS SDK
This commit is contained in:
		
						commit
						efd437a2b4
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -140,6 +140,18 @@ else
 | 
			
		|||
	CFLAGS += -miphoneos-version-min=5.0
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# tvOS
 | 
			
		||||
else ifeq ($(platform), tvos-arm64)
 | 
			
		||||
	TARGET := $(TARGET_NAME)_libretro_tvos.dylib
 | 
			
		||||
	fpic := -fPIC
 | 
			
		||||
	SHARED := -dynamiclib
 | 
			
		||||
	CPU_ARCH := arm
 | 
			
		||||
	CFLAGS += -DIOS -DHAVE_POSIX_MEMALIGN -marm
 | 
			
		||||
 | 
			
		||||
	ifeq ($(IOSSDK),)
 | 
			
		||||
		IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
 | 
			
		||||
	endif
 | 
			
		||||
 | 
			
		||||
# iOS Theos
 | 
			
		||||
else ifeq ($(platform), theos_ios)
 | 
			
		||||
	DEPLOYMENT_IOSVERSION = 5.0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue