notaz.gp2x.de
/
megadrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
megaed-sv: move most start code to ROM
[megadrive.git]
/
megaed-sv
/
Makefile
diff --git
a/megaed-sv/Makefile
b/megaed-sv/Makefile
index
483307b
..
24f0965
100644
(file)
--- a/
megaed-sv/Makefile
+++ b/
megaed-sv/Makefile
@@
-17,6
+17,11
@@
all: $(TARGET).bin
$(TARGET).elf: $(OBJS)
\r
$(LD) -o $@ -Ted_app.ld -Map $(TARGET).map $^ $(LDLIBS)
\r
\r
$(TARGET).elf: $(OBJS)
\r
$(LD) -o $@ -Ted_app.ld -Map $(TARGET).map $^ $(LDLIBS)
\r
\r
+$(TARGET)_e.bin: $(TARGET).bin
\r
+ dd if=/dev/zero of=$@ bs=1M count=1
\r
+ dd if=$^ of=$@ bs=1M seek=1
\r
+ dd if=$^ of=$@ conv=notrunc
\r
+
\r
clean:
\r
$(RM) $(TARGET).bin $(OBJS) $(TARGET).elf $(TARGET).map
\r
\r
clean:
\r
$(RM) $(TARGET).bin $(OBJS) $(TARGET).elf $(TARGET).map
\r
\r