1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:22:22 +00:00
2018-01-10 18:12:20 +08:00

21 lines
394 B
Makefile

# Copyright © 2017 ChaiShushan <chaishushan{AT}gmail.com>.
# License: https://creativecommons.org/licenses/by-nc-sa/4.0/
default:
cd mystring && make
go build -o a.out
LD_LIBRARY_PATH=$(shell pwd)/mystring ./a.out
macos:
cd mystring && make
go build -o a.out
DYLD_LIBRARY_PATH=$(shell pwd)/mystring ./a.out
windows:
# set path
clean:
-cd mystring && make clean
-rm *.a
-rm a.out