diff --git a/Makefile b/Makefile index 068234c..3502aa4 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,8 @@ include boot/Makefile.inc include kernel/Makefile.inc include devices/Makefile.inc +.PHONY: all clean boot + all: aedrix-kernel.img aedrix-kernel.elf aedrix-kernel.elf: $(KOBJS) @@ -50,7 +52,6 @@ aedrix-kernel.img: aedrix-kernel.elf $(if $(VERBOSE:1=),@echo ' AS $@') $(if $(VERBOSE:1=),@)$(AS) -o $@ $< -.PHONY : clean clean: @echo ' CLEAN *.o' @rm -f $(KOBJS) @@ -59,6 +60,5 @@ clean: @echo ' CLEAN aedrix-kernel.img' @rm -f aedrix-kernel.img -.PHONY: boot boot: aedrix-kernel.elf @qemu-system-arm -m 1024 -M vexpress-a9 -kernel aedrix-kernel.elf -serial stdio