projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c90ee
)
Remove main.img.bin target, add clean target
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 30 Jul 2020 13:53:13 +0000
(15:53 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 30 Jul 2020 13:53:13 +0000
(15:53 +0200)
examples/firmware/Makefile
patch
|
blob
|
history
diff --git
a/examples/firmware/Makefile
b/examples/firmware/Makefile
index f86e259ca8103f52cf2bba43c2209336286f4102..626088e8ed1181fc0249ed3a4a7cd437e9b68c3c 100644
(file)
--- a/
examples/firmware/Makefile
+++ b/
examples/firmware/Makefile
@@
-20,7
+20,10
@@
main.bin: $(OBJS) link.ld ../../libgram/libgram.a
$(CC) $(LDFLAGS) $(OBJS) ../../libgram/libgram.a -o main.elf
$(OBJCOPY) -O binary main.elf main.bin
-main.img.bin: main.bin
- $(PYTHON) -m lambdasoc.software.bios.util.mkmscimg --little $< -o $@
+all: main.bin
-all: main.img.bin
+clean:
+ rm -f $(OBJS)
+ rm *.elf
+ rm *.bin
+.PHONY: clean