mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
12 lines
361 B
Ruby
12 lines
361 B
Ruby
#!/usr/bin/env ruby
|
|
require 'mkmf'
|
|
|
|
# preparation for compilation goes here
|
|
dir_config('') # include the current directory in the library search path
|
|
have_library('hello') # depend on `libhello.dylib` being in the current path
|
|
# (.dylib is macOS-specific; other OSes would have different extensions)
|
|
|
|
create_header
|
|
create_makefile 'demo'
|
|
|