From bc8ec38d870f65aae5bb53b9dd1a8f18ddff8708 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 31 Jul 2025 00:33:52 +0300 Subject: feat(hello_world): Add Makefile --- .gitignore | 1 + hello_world/Makefile | 12 ++++++++++++ hello_world/hello.oph | 2 -- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 hello_world/Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c7f21d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.prg diff --git a/hello_world/Makefile b/hello_world/Makefile new file mode 100644 index 0000000..7bec999 --- /dev/null +++ b/hello_world/Makefile @@ -0,0 +1,12 @@ +VICE=x64 +VICEFLAGS=-VICIIfilter 0 + +.PHONY: build execute run + +build: + ophis *.oph + +execute: + $(VICE) $(VICEFLAGS) *.prg >/dev/null + +run: build execute diff --git a/hello_world/hello.oph b/hello_world/hello.oph index 1d4e3ba..eac7786 100644 --- a/hello_world/hello.oph +++ b/hello_world/hello.oph @@ -1,5 +1,3 @@ -; ophis hello.oph && x64 hello.prg >/dev/null - ; The 6502 is little endian! (4 3 2 1) ; PRG format -- cgit v1.3.1-23-gd82d