Skip to content

Commit c22b590

Browse files
committed
windows compilation support
1 parent a2aee09 commit c22b590

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ profile_display:
4646
go build -gcflags $(compileFlags)
4747
./gopher2600 performance --display --profile $(profilingRom)
4848
go tool pprof -http : ./gopher2600 cpu.profile
49+
50+
windows:
51+
CGO_ENABLED="1" CC="/usr/bin/x86_64-w64-mingw32-gcc" CXX="/usr/bin/x86_64-w64-mingw32-g++" GOOS="windows" CGO_LDFLAGS="-lmingw32 -lSDL2" CGO_CFLAGS="-D_REENTRANT" go build -x .

0 commit comments

Comments
 (0)