tech:makefile_et_variables_d_environnement
Ceci est une ancienne révision du document !
Makefile et variables d'environnement
Makefile
include env exe: go build main.go dll: go build -buildmode=c-shared -o main.dll main.go clean: rm -f main.exe main.dll all: exe dll
env
cat env export GOOS=windows #export GOARCH=amd64 export CGO_ENABLED=1 export CXX=x86_64-w64-mingw32-g++ export CC= x86_64-w64-mingw32-gcc export GOROOT=$(shell printenv HOME)/opt/go-legacy-win7/ export PATH = $(shell printenv HOME)/opt/go-legacy-win7/bin/go:$(shell printenv PATH)
tech/makefile_et_variables_d_environnement.1776801973.txt.gz · Dernière modification : de Jean-Baptiste
