diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |