ffi-simple/Makefile

export LD_LIBRARY_PATH = $(PWD)
export CC = clang

all: ./main.so

./main.so: main.go
	go build -o main.so -buildmode=c-shared main.go

run: ./main.so
	guile -s ./run.scm