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