30 lines
468 B
Makefile
30 lines
468 B
Makefile
#!gmake
|
|
|
|
# Macro
|
|
FASM=/opt/bin/fasm
|
|
KPACK=/opt/bin/kpack
|
|
LANG=lang.inc
|
|
FILE=board
|
|
SOURCE=${FILE}.asm
|
|
OUT=${FILE}.bin
|
|
|
|
ru:
|
|
echo "lang fix ru_RU" > ${LANG}
|
|
${FASM} ${SOURCE} ${OUT}
|
|
${KPACK} ${OUT}
|
|
de:
|
|
echo "lang fix de_DE" > ${LANG}
|
|
${FASM} ${SOURCE} ${OUT}
|
|
${KPACK} ${OUT}
|
|
en:
|
|
echo "lang fix en_US" > ${LANG}
|
|
${FASM} ${SOURCE} ${OUT}
|
|
${KPACK} ${OUT}
|
|
it:
|
|
echo "lang fix it_IT" > ${LANG}
|
|
${FASM} ${SOURCE} ${OUT}
|
|
${KPACK} ${OUT}
|
|
|
|
clean:
|
|
rm -f ${LANG} ${OUT}
|