From 3f9a100fae77a4886966cf41dd109be81055d3d0 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 8 Apr 2019 18:29:02 +0200 Subject: fix --- init/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init/Makefile') diff --git a/init/Makefile b/init/Makefile index 53a64ea..fae06bf 100644 --- a/init/Makefile +++ b/init/Makefile @@ -1,11 +1,11 @@ CC = gcc CFLAGS = LDFLAGS = --static -OUTPUT = init.elf +OUTPUT = init SRC = init.c -build: init.o +build: $(CC) $(CFLAGS) $(SRC) $(LDFLAGS) -o $(OUTPUT) .PHONY: copy clean @@ -14,4 +14,4 @@ clean: rm -df $(OUTPUT) copy: - objcopy -O binary $(OUTPUT) ../root/init + cp $(OUTPUT) ../root/init -- cgit v1.2.3