Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitbc8ec38d870f65aae5bb53b9dd1a8f18ddff8708 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-07-31 00:33:52 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-07-31 00:33:52 +0300
Files2b1f48baac2da6f13424305a5293deb900dc2c61
c64-programs-bc8ec38d870f65aae5bb53b9dd1a8f18ddff8708.tar
c64-programs-bc8ec38d870f65aae5bb53b9dd1a8f18ddff8708.tar.gz
c64-programs-bc8ec38d870f65aae5bb53b9dd1a8f18ddff8708.zip
Parent65500035eb3a06cdc13110d4a6ca5c5a9670cac6 (diff)
feat(hello_world): Add Makefile
3 files changed, 13 insertions, 2 deletions
-rw-r--r--.gitignore1
-rw-r--r--hello_world/Makefile12
-rw-r--r--hello_world/hello.oph2
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