Source

rest-bind / rest-bind.setup

; These two instructions will produce statically and dynamically linkable
; object files "rest-bind.o" and "rest-bind.so" respectively.
(compile -s -O2 -d1 rest-bind.scm -j rest-bind)
(compile -s rest-bind.import.scm -O2 -d0)
(compile -c -O2 -d1 rest-bind.scm -unit rest-bind -j rest-bind)
(install-extension
  ; Name of your extension:
  'rest-bind
  ; Files to install for your extension:
  '("rest-bind.o" "rest-bind.so" "rest-bind.import.so")
  ; Assoc list with properties for your extension:
  '((version "0.1") ;; version number should be a string
    (static "rest-bind.o"))) ;; for static linking