diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2015-09-12 12:21:32 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2015-09-15 22:43:32 -0500 |
commit | dee0ef6a7d9b765f3cbc2332c5205dc202fb52ea (patch) | |
tree | eb85caf1bc33e0ddd145ef4008deaf8ae54ea1a3 /Makefile | |
parent | 7e8d7666ca5ee0f147e29ae0911ee1c7e5d15801 (diff) |
rename boot sector outputs
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 |