Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (23 sloc) 538 Bytes
name := FLAPPY
program := ./$(name).BAS
# port := /dev/tty.usbserial-A601ZXQ7
port := /dev/tty.SLAB_USBtoUART
basic-1 := /Users/johan/Projects/BASIC/experiments/upload/basic-1
load := $(basic-1) load --port=$(port) --progress
exec := $(basic-1) exec --port=$(port)
.PHONY: all new load run list
all: setup new load run
setup:
$(exec) "OVERFLOW(1)"
$(exec) "CURSOR(1)"
$(exec) "CLS"
new:
$(exec) "NEW"
run:
$(exec) "RUN"
list:
$(exec) "LIST"
load:
$(load) $(program)
save: setup new load
$(exec) "SAVE \"$(name)\""
You can’t perform that action at this time.