📜  C 使用 mingw 编译 SDL 程序 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:30.799000             🧑  作者: Mango

代码示例1
@echo off 

SET filename=teste

SET PathInclude=C:\MinGW\include
SET PathLib=C:\MinGW\lib64

gcc %filename%.c -I%PathInclude% -L%PathLib% -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o main
pause