From 149020464517ff3d021eef5ccd50d3939ad463e6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 24 Oct 2023 17:40:19 +0200 Subject: Lay out a proper structure for the project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's divide things by topic instead of a broad "examples" directory. This will allow for simple files to co-exist together with full-blown projects. Signed-off-by: Miquel Sabaté Solà --- space/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 space/Makefile (limited to 'space/Makefile') 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 $@ -- cgit v1.2.3