github.com/notti/nocgo@v0.0.0-20190619201224-fc443047424c/steps/3_goffi/Makefile (about) 1 dyn: prog rewrite.go 2 $(MAKE) -C prog 3 $(MAKE) -C testlib 4 go run rewrite.go 5 LD_LIBRARY_PATH=testlib ./dyn a b c 6 7 libcalltest.so.1: test.c 8 $(CC) -shared -fPIC -Wl,-soname,libcalltest.so.1 -o libcalltest.so.1 test.c -lc 9 10 .PHONY: dyn