summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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