mirror of
				https://github.com/nicbarker/clay.git
				synced 2025-11-04 00:26:17 +00:00 
			
		
		
		
	Generate binaries for different platforms
This commit is contained in:
		
							parent
							
								
									0c523c7a47
								
							
						
					
					
						commit
						75ae1c8f7f
					
				| 
						 | 
				
			
			@ -1,4 +1,6 @@
 | 
			
		|||
cp ../../clay.h clay.c;
 | 
			
		||||
clang -c -o clay.o -static clay.c -fPIC && ar r clay-odin/clay.a clay.o;
 | 
			
		||||
clang -c -o clay.o -static -target x86_64-apple-darwin clay.c -fPIC && ar r clay-odin/macos/clay.a clay.o;
 | 
			
		||||
clang -c -o clay.o -static clay.c -fPIC && ar r clay-odin/macos-arm64/clay.a clay.o;
 | 
			
		||||
clang -c -o clay-odin/windows/clay.lib -target x86_64-pc-windows-msvc -fuse-ld=llvm-lib -static clay.c;
 | 
			
		||||
rm clay.o;
 | 
			
		||||
rm clay.c;
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								bindings/odin/clay-odin/macos/clay.a
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bindings/odin/clay-odin/macos/clay.a
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								bindings/odin/clay-odin/windows/clay.lib
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bindings/odin/clay-odin/windows/clay.lib
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in a new issue