b8

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.vgx.fr/b8
Log | Files | Refs

commit 127a530131e2f85a8d8d6f5fb85fdf889bbe3c79
parent 25c37ed37df02632f9dfd84aaf3c96ecc17d6888
Author: Léo Villeveygoux <leo.villeveygoux@etu.u-bordeaux.fr>
Date:   Fri, 16 Jun 2017 17:12:42 +0200

better Makefile

Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,14 +1,16 @@ LDFLAGS=-Wl,--section-start=mem_chunk=0x20000 +PROG=b8 CARTS=$(patsubst %.asm,%.bin,$(wildcard *.asm)) -all: b8 $(CARTS) +all: $(PROG) $(CARTS) clean: - -$(RM) b8 *.bin + -$(RM) $(PROG) $(CARTS) %.bin: %.asm yasm -f bin $< -o $@ + chmod +x $@ %.bin: %.s yasm -f bin -r gas -p gas $< -o $@