summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2015-09-12 12:21:32 -0500
committerBobby Bingham <koorogi@koorogi.info>2015-09-15 22:43:32 -0500
commitdee0ef6a7d9b765f3cbc2332c5205dc202fb52ea (patch)
treeeb85caf1bc33e0ddd145ef4008deaf8ae54ea1a3
parent7e8d7666ca5ee0f147e29ae0911ee1c7e5d15801 (diff)
rename boot sector outputs
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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