diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-13 22:52:49 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-13 22:52:49 +0100 |
| commit | 9ff2033e936689135210989a5fee057a4a13527e (patch) | |
| tree | dd41ffd78f451d28a554f105ff40017ed31106a2 /Makefile | |
| parent | 2627b459d9a19ce7f1b7f3a359dca3b30b66b34e (diff) | |
| download | jetpac.nes-9ff2033e936689135210989a5fee057a4a13527e.tar.gz jetpac.nes-9ff2033e936689135210989a5fee057a4a13527e.zip | |
Add a title and a main screens
This commit adds the skeleton for having a title and a main screen. For
now the title menu doesn't do much, as the selection is simply ignored,
but at least it already knows how to cycle between these two states.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -9,6 +9,9 @@ endif CC65 ?= cl65 CCOPTS ?= --target nes +ifeq "$(DEBUG)" "1" +CCOPTS += -g -Ln out/labels.txt +endif .PHONY: all all: clean deps build @@ -29,10 +32,16 @@ build: build-full build-partial .PHONY: build-full build-full: + $(Q) rm -f config/generated.s + $(Q) touch config/generated.s + $(E) " CC jetpac (full)" $(Q) $(CC65) $(CCOPTS) src/jetpac.s -C config/nrom.cfg -o out/jetpac.nes .PHONY: build-partial build-partial: + $(Q) rm -f config/generated.s + $(Q) echo "PARTIAL = 1" >> config/generated.s + $(E) " CC jetpac (partial)" - $(Q) $(CC65) $(CCOPTS) src/jetpac.s -C config/nrom.cfg --asm-define PARTIAL=1 -o out/partial.nes + $(Q) $(CC65) $(CCOPTS) src/jetpac.s -C config/nrom.cfg -Wa -DPARTIAL=1 -o out/partial.nes |
