Outils pour utilisateurs

Outils du site


tech:makefile_et_variables_d_environnement

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:makefile_et_variables_d_environnement [2026/04/21 22:07] Jean-Baptistetech:makefile_et_variables_d_environnement [2026/04/22 13:35] (Version actuelle) Jean-Baptiste
Ligne 9: Ligne 9:
  
 exe: exe:
-        go build main.go +        go build -o app1.exe main.go
  
 dll: dll:
-        go build -buildmode=c-shared -o main.dll main.go+        go build -buildmode=c-shared -o app1.dll main.go
  
 clean: clean:
-        rm -f main.exe main.dll main.h+        rm -f app1.exe app1.dll app1.h call.exe
  
 all:    exe dll all:    exe dll
 +
 +test:   exe dll
 +        go build call.go
 +        wine call.exe
 ~~~ ~~~
  
Ligne 25: Ligne 29:
 cat env  cat env 
 export GOOS=windows export GOOS=windows
-#export GOARCH=amd64 +export GOARCH=amd64
 export CGO_ENABLED=1 export CGO_ENABLED=1
 export CXX=x86_64-w64-mingw32-g++ export CXX=x86_64-w64-mingw32-g++
tech/makefile_et_variables_d_environnement.1776802060.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki