Mercurial > hg > index.cgi
comparison Makefile @ 75:5f8f0b0781e8
Split some code into separate files for easier management (3)
Because the source for lwbasic is so large, split it into several
different files to make it easier to navigate and modify. This is
part three of the split. Includes a file missing from part one.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 06 Aug 2023 00:41:26 -0600 |
parents | e74d00ac6b79 |
children | eb2681108660 |
comparison
equal
deleted
inserted
replaced
74:e74d00ac6b79 | 75:5f8f0b0781e8 |
---|---|
1 .PHONY: all | 1 .PHONY: all |
2 all: bin/lwbasic.rom bin/lwbasic-coco2b.rom bin/lwbasic-coco3.rom bin/coco2.zip bin/coco2b.zip bin/coco3.zip | 2 all: bin/lwbasic.rom bin/lwbasic-coco2b.rom bin/lwbasic-coco3.rom bin/coco2.zip bin/coco2b.zip bin/coco3.zip |
3 | 3 |
4 lwb_srcs := consscr.s defs.s genio.s init.s interp.s irq.s keyb.s miscdata.s print.s progctrl.s vars.s | 4 lwb_srcs := consscr.s defs.s error.s expr.s genio.s init.s interp.s irq.s keyb.s miscdata.s print.s progctrl.s vars.s |
5 lwb_srcs := $(addprefix src/,$(lwb_srcs)) | 5 lwb_srcs := $(addprefix src/,$(lwb_srcs)) |
6 | 6 |
7 bin/lwbasic.rom: src/lwbasic.s $(lwb_srcs) | 7 bin/lwbasic.rom: src/lwbasic.s $(lwb_srcs) |
8 lwasm --tabs=16 --raw --list=src/lwbasic-coco2.list --symbols --output=bin/lwbasic.rom src/lwbasic.s | 8 lwasm --tabs=16 --raw --list=src/lwbasic-coco2.list --symbols --output=bin/lwbasic.rom src/lwbasic.s |
9 bin/lwbasic-coco2b.rom: src/lwbasic.s $(lwb_srcs) | 9 bin/lwbasic-coco2b.rom: src/lwbasic.s $(lwb_srcs) |