From dee0ef6a7d9b765f3cbc2332c5205dc202fb52ea Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 12 Sep 2015 12:21:32 -0500 Subject: rename boot sector outputs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ef8ad3a..e4051c4 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ SATURN_LDFLAGS = BOOTSRCS = $(sort $(wildcard boot/*.c)) BOOTELFS = $(patsubst %.c,%.elf,$(BOOTSRCS)) -BOOTBINS = $(patsubst boot/%.c,share/%.boot,$(BOOTSRCS)) +BOOTBINS = $(patsubst boot/%.c,share/boot/%,$(BOOTSRCS)) SRCS = $(sort $(wildcard src/*.c)) DATA = $(sort $(wildcard src/*.bin)) @@ -29,7 +29,7 @@ bin/satmkboot: src/securitycode.o src/symbols.o bin/%: src/%.o $(CC) $(LDFLAGS) $^ -o $@ -share/%.boot: boot/%.elf +share/boot/%: boot/%.elf $(SATURN_OBJCOPY) -O binary $< $@ %.elf: %.c boot/ldscript -- cgit v1.2.3