mirror of https://github.com/wwarthen/RomWBW.git
10 changed files with 2301 additions and 2613 deletions
File diff suppressed because it is too large
@ -1,9 +1,3 @@ |
|||||
SUBDIRS := src |
|
||||
TARGETS := all clobber clean |
|
||||
|
|
||||
$(TARGETS): $(SUBDIRS) |
|
||||
|
|
||||
$(SUBDIRS): |
|
||||
$(MAKE) -C $@ $(MAKECMDGOALS) |
|
||||
|
|
||||
.PHONY: $(TARGETS) $(SUBDIRS) |
|
||||
|
SUBDIRS = src |
||||
|
TOOLS = ../../Tools |
||||
|
include $(TOOLS)/Makefile.inc |
||||
|
|||||
@ -1,37 +1,18 @@ |
|||||
# git@github.com:dimitrit/tastybasic.git; commit a86d7e7; (HEAD -> master, tag: v0.3.0)
|
|
||||
VER := \"v0.3.0\" |
|
||||
UNAME := $(shell uname) |
|
||||
APPDIR := $(wildcard ../../../Binary/Apps) |
|
||||
BINDIR := ../../../Tools/$(UNAME) |
|
||||
|
|
||||
ROMIMAGE := tastybasic.bin |
|
||||
ROMDEPS := tastybasic.asm romwbwio.asm |
|
||||
CPMCMD := tastybasic.com |
|
||||
CPMDEPS := tastybasic.asm cpmio.asm |
|
||||
CPMAPP := $(APPDIR)/tbasic.com |
|
||||
CPMIMAGE := tastybasic.img |
|
||||
|
|
||||
export PATH := $(BINDIR):${PATH} |
|
||||
|
|
||||
all: $(ROMIMAGE) $(CPMCMD) | $(APPDIR) |
|
||||
|
OBJECTS = tastybasic.bin tbasic.com |
||||
|
TOOLS = ../../../Tools |
||||
|
OTHERS = *.com |
||||
|
APPDIR=../../../Binary/Apps |
||||
|
|
||||
clean: |
|
||||
@rm -f *.lst *.img *.com *.bin |
|
||||
|
include $(TOOLS)/Makefile.inc |
||||
|
|
||||
clobber: clean |
|
||||
@rm -f $(CPMAPP) |
|
||||
|
|
||||
$(ROMIMAGE): $(ROMDEPS) |
|
||||
@uz80as -dROMWBW -d"VERSION $(VER)" tastybasic.asm tastybasic.bin tastybasic.bin.lst |
|
||||
|
|
||||
$(CPMIMAGE): $(CPMCMD) |
|
||||
@mkfs.cpm -f wbw_fd144 tastybasic.img |
|
||||
@cpmcp -f wbw_fd144 tastybasic.img tastybasic.com 0:tbasic.com |
|
||||
|
# git@github.com:dimitrit/tastybasic.git; commit a86d7e7; (HEAD -> master, tag: v0.3.0)
|
||||
|
VER=\"v0.3.0\" |
||||
|
USETASM=1 |
||||
|
|
||||
$(CPMCMD): $(CPMDEPS) |
|
||||
@uz80as -dCPM -d"VERSION $(VER)" tastybasic.asm tastybasic.com tastybasic.com.lst |
|
||||
|
tastybasic.bin: TASMFLAGS=-dROMWBW -d"VERSION $(VER)" |
||||
|
|
||||
$(APPDIR): $(CPMCMD) |
|
||||
@cat $(CPMCMD) > $(CPMAPP) |
|
||||
|
tastybasic.com: TASMFLAGS=-dCPM -d"VERSION $(VER)" |
||||
|
|
||||
.PHONY: clean clobber $(APPDIR) |
|
||||
|
tbasic.com : tastybasic.com |
||||
|
cp $< $@ |
||||
|
cp $$($(CASEFN) $@) $(APPDIR) |
||||
|
|||||
Loading…
Reference in new issue