SpaceQuakeHulk/Quake/build_cross_win32-sdl2.sh
saarsena@gmail.com 8269b17aa7
Some checks failed
Linux / Build Linux (push) Has been cancelled
Linux / Build Linux-1 (push) Has been cancelled
macOS / Build macOS (push) Has been cancelled
macOS / Build macOS-1 (push) Has been cancelled
Windows (MinGW) / Build MinGW (push) Has been cancelled
Windows (MinGW) / Build MinGW-1 (push) Has been cancelled
Windows (MSVC) / Build Windows (push) Has been cancelled
Windows (MSVC) / Build Windows-1 (push) Has been cancelled
first
2026-03-24 10:46:22 -04:00

21 lines
460 B
Bash
Executable file

#!/bin/sh
# Change this script to meet your needs and/or environment.
TARGET=i686-w64-mingw32
PREFIX=/opt/cross_win32
PATH="$PREFIX/bin:$PATH"
export PATH
MAKE_CMD=make
CC="$TARGET-gcc"
AS="$TARGET-as"
RANLIB="$TARGET-ranlib"
AR="$TARGET-ar"
WINDRES="$TARGET-windres"
STRIP="$TARGET-strip"
export PATH CC AS AR RANLIB WINDRES STRIP
exec $MAKE_CMD USE_SDL2=1 WINSOCK2=1 CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $*