From 94e489766cc5f3d4bf83618313049a75102e43cf Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 13 Jan 2020 15:27:41 +0100 Subject: minor line moved --- build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/Makefile b/build/Makefile index cc5c6f0..cd15ccc 100644 --- a/build/Makefile +++ b/build/Makefile @@ -25,8 +25,6 @@ LOADER_STAGE2_OBJECTS := uart.o strings.o io.o loader_stage2.o RAMFS_FILES := PL0_test.img -all : kernel.img - empty:= space:= $(empty) $(empty) @@ -36,6 +34,8 @@ vpath %.S $(dirs_colon) vpath %.c $(dirs_colon) vpath %.ld $(dirs_colon) +all : kernel.img + %.o : %.c $(if $(findstring /arm/,$<),\ $(ARM_CC) $(ARM_CFLAGS),$(HOST_CC) $(HOST_CFLAGS)) -c $< -o $@ -- cgit v1.2.3