aboutsummaryrefslogtreecommitdiff
path: root/space/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'space/Makefile')
-rw-r--r--space/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/space/Makefile b/space/Makefile
new file mode 100644
index 0000000..e38607c
--- /dev/null
+++ b/space/Makefile
@@ -0,0 +1,15 @@
+CC65 ?= cl65
+CCOPTS ?= --verbose --target nes
+
+.PHONY: all
+all: clean build
+
+.PHONY: clean
+clean:
+ @rm -f space.nes
+
+.PHONY: build
+build: space.nes
+
+%.nes: src/%.s
+ $(CC65) $(CCOPTS) $< -o $@