diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-04-08 18:29:02 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-04-08 18:29:02 +0200 |
commit | 3f9a100fae77a4886966cf41dd109be81055d3d0 (patch) | |
tree | 6f52e0ebe553efcf604f8c1bf331637a57971680 /init/Makefile | |
parent | 5cb5188112476b82af1e9f0a8f61866becca31e0 (diff) | |
download | minilinux-3f9a100fae77a4886966cf41dd109be81055d3d0.tar.gz |
fix
Diffstat (limited to 'init/Makefile')
-rw-r--r-- | init/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |