; 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: '((static "rest-bind.o") ;; for static linking (version "0.6")))