kolibrios/programs/games/c4/trunk/makefile

24 lines
341 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.inc
FILE=c4
SOURCE=${FILE}.asm
OUT=${FILE}.bin
all:en
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}
clean:
rm -f ${OUT} lang.inc