mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
15 lines
442 B
Bash
15 lines
442 B
Bash
![]() |
# /bin/sh
|
||
|
|
||
|
nasm >/dev/null
|
||
|
|
||
|
if [[ "$?" == "0" || "$?" == "1" ]]; then
|
||
|
echo "all: samples_all" >samples/Makefile.nasm
|
||
|
echo "NASM=nasm" >>samples/Makefile.nasm
|
||
|
else
|
||
|
echo "#nothing to do here" >samples/Makefile.nasm
|
||
|
echo "all:" >>samples/Makefile.nasm
|
||
|
echo -n -e "\t" >>samples/Makefile.nasm
|
||
|
echo "echo You do not have NASM... skipping sample build" >>samples/Makefile.nasm
|
||
|
fi
|
||
|
|