FLAGS = -m32 -ffreestanding -fno-common -fno-builtin -fomit-frame-pointer -O2 -c
FLAGSC = -m32 -ffreestanding -fno-common -nostdlib -masm=intel -fno-builtin -fomit-frame-pointer -O2 -c
LD = ld -Ttext 0x100000 -T linkerscript -melf_i386 --oformat elf32-i386 -o
-FLAGSDEBUG = -ffreestanding -fno-common -nostdlib -masm=intel -fno-builtin -fomit-frame-pointer -O2 -c
+FLAGSDEBUG = -ffreestanding -fno-common -nostdlib -fno-builtin -fomit-frame-pointer -O2 -c
file =boot.c
DEBUG_OBJ=../tmp/debug.o
${LD} ${TARGET} ${BOOT_OBJ}
debug:
+ @ ${RM} -f ${DEBUG_OBJ}
${CC} ${INCLUDES} ${FLAGSDEBUG} ${file}
- ${RM} -f ${DEBUG_OBJ}
${BOOT_OBJ}: ${BOOT_SRC}
clean::