mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-14 00:50:38 +00:00
c1e8a1e692
x86 and x86_64 both tested and working.
17 lines
397 B
Bash
Executable file
17 lines
397 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Change this script to meet your needs and/or environment.
|
|
|
|
TARGET=i586-pc-haiku
|
|
|
|
MAKE_CMD=make
|
|
|
|
CC="$TARGET-gcc"
|
|
AS="$TARGET-as"
|
|
RANLIB="$TARGET-ranlib"
|
|
AR="$TARGET-ar"
|
|
STRIP="$TARGET-strip"
|
|
LDFLAGS=-L/usr/lib32 # hack
|
|
export CC AS AR RANLIB STRIP LDFLAGS
|
|
|
|
exec $MAKE_CMD HAIKU_OS=1 LINK_M=0 USE_SDL2=1 LDFLAGS=$LDFLAGS CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR STRIP=$STRIP -f Makefile $*
|