forked from KolibriOS/kolibrios
28f7ad7e71
git-svn-id: svn://kolibrios.org@3491 a494cfbc-eb01-0410-851d-a64ba20cac60
25 lines
366 B
Makefile
25 lines
366 B
Makefile
#Makefile per la compilazione
|
|
|
|
#Macro
|
|
FASM=/opt/bin/fasm
|
|
NASM=/usr/bin/nasm
|
|
KPACK=/opt/bin/kpack
|
|
LANG=lang.inc
|
|
FILE=c4
|
|
SOURCE=${FILE}.asm
|
|
OUT=${FILE}.bin
|
|
|
|
en:
|
|
echo "lang equ 'en'" > lang.inc
|
|
${NASM} -f bin -o ${OUT} ${SOURCE}
|
|
|
|
it:
|
|
echo "lang equ 'it'" > lang.inc
|
|
${NASM} -f bin -o ${OUT} ${SOURCE}
|
|
|
|
def:
|
|
${NASM} -f bin -o ${OUT} ${SOURCE}
|
|
|
|
clean:
|
|
rm -f ${OUT}
|