deploy chipmunk lib

db4
Joe Groff 2010-02-25 15:13:06 -08:00
parent 01b7113618
commit 1bb27b8a21
1 changed files with 11 additions and 7 deletions

View File

@ -2,15 +2,19 @@
! See http:// factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.syntax classes.struct combinators
combinators.short-circuit kernel math math.order sequences
specialized-arrays.instances.alien.c-types.void* typed
specialized-arrays locals system alien.libraries ;
typed specialized-arrays locals system alien.libraries ;
SPECIALIZED-ARRAY: void*
IN: chipmunk.ffi
<< "chipmunk" {
{ [ os windows? ] [ "chipmunk.dll" ] }
{ [ os macosx? ] [ "libchipmunk.dylib" ] }
{ [ os unix? ] [ "libchipmunk.so" ] }
} cond "cdecl" add-library >>
<<
"chipmunk" {
{ [ os windows? ] [ "chipmunk.dll" ] }
{ [ os macosx? ] [ "libchipmunk.dylib" ] }
{ [ os unix? ] [ "libchipmunk.so" ] }
} cond "cdecl" add-library
"chipmunk" deploy-library
>>
LIBRARY: chipmunk
! chipmunk_types.h