From ccc8fd77375ede0712e6619fb7f0f4adaf1a2a1f Mon Sep 17 00:00:00 2001 From: rick <rick@gnous.eu> Date: Tue, 1 Jun 2021 14:25:25 +0200 Subject: [PATCH 1/2] feat: Makefile --- Makefile | 5 +++++ README.md | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..98d9125 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +CC=sjasmplus +CFLAGS= + +%: + $(CC) $@.asm --raw=$@.rom diff --git a/README.md b/README.md index 1046388..4b67aa4 100644 --- a/README.md +++ b/README.md @@ -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 d’utiliser 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. From 87d2d813ab23293531158b3eacbe9651b7871911 Mon Sep 17 00:00:00 2001 From: rick <rick@gnous.eu> Date: Tue, 1 Jun 2021 14:26:25 +0200 Subject: [PATCH 2/2] feat(gitignore): fichiers inutiles --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0edf4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.lst +*.rom