comparison Makefile @ 76:eb2681108660

Split some code into separate files for easier management (4) 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 four of the split.
author William Astle <lost@l-w.ca>
date Sun, 06 Aug 2023 00:51:22 -0600
parents 5f8f0b0781e8
children bb50ac9fdf37
comparison
equal deleted inserted replaced
75:5f8f0b0781e8 76:eb2681108660
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 error.s expr.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 keywords.s miscdata.s number.s print.s progctrl.s token.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)