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