windows cross-compliation
This commit is contained in:
parent
f27d19b6c8
commit
887dfbe5c4
4 changed files with 14 additions and 5 deletions
7
Makefile
7
Makefile
|
@ -1,3 +1,6 @@
|
|||
CC=gcc
|
||||
make:
|
||||
$(CC) -lm -lglfw -o ./monke *.c
|
||||
gcc -lm -lglfw -o ./monke *.c
|
||||
windows:
|
||||
x86_64-w64-mingw32-gcc -lm -o ./monke.exe ./*.c ./libglfw3.a ./libwinpthread.a ./libopengl32.a ./libgdi32.a
|
||||
clean:
|
||||
rm ./*.o ./*.exe ./monke
|
Loading…
Add table
Add a link
Reference in a new issue