feat: Makefile

This commit is contained in:
rick 2021-06-01 14:25:25 +02:00
parent 1836649e69
commit ccc8fd7737
Signed by: Rick
GPG key ID: 2B593F087240EE99
2 changed files with 7 additions and 0 deletions

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
CC=sjasmplus
CFLAGS=
%:
$(CC) $@.asm --raw=$@.rom

View file

@ -6,4 +6,6 @@ Le compilateur SJASMplus est utilisé afin de compiler les fichiers et [OpenMSX]
sjasmplus hello.asm --raw=hello.rom
```
Il est aussi possible dutiliser le Makefile avec la commande `make hello`.
Je m'appuie sur [le tuto de Chibiakumas](https://www.chibiakumas.com/z80/helloworld.php#LessonH3) pour le Hello worl.