kolibrios/programs/games/c4/trunk/makefile

24 lines
375 B
Makefile
Raw Normal View History

#Makefile per la compilazione
#Macro
FASM=/opt/bin/fasm
NASM=/usr/bin/nasm
KPACK=/opt/bin/kpack
LANG=lang_nasm.inc
FILE=c4
SOURCE=${FILE}.asm
OUT=${FILE}.bin
all:en
en:
2024-06-03 01:34:02 +02:00
echo "%define lang 'en_US'" > lang_nasm.inc
${NASM} -f bin -o ${OUT} ${SOURCE}
it:
2024-06-03 01:34:02 +02:00
echo "%define lang 'it_IT'" > lang_nasm.inc
${NASM} -f bin -o ${OUT} ${SOURCE}
clean:
rm -f ${OUT} lang_nasm.inc