# $Id$ OBJS = boot.o ../Common/$(SERIAL).o ../Common/rk11.o ../Common/fs.o .PHONY: all clean .SUFFIXES: .c .o all: boot.bin boot.bin: boot.out $(OBJCOPY) -O binary boot.out boot.bin boot.out: bootasm.o $(OBJS) $(LD) -T ld.script -o boot.out bootasm.o $(OBJS) bootasm.o: boot.asm $(AS) -o $@ boot.asm .c.o: $(CC) -DPACK16="__attribute__((aligned(2)))" -fPIC -nostdlib -c -o $@ $< clean: rm -f *.bin *.o *.out