Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ebcdic authored Aug 22, 2023
1 parent c7597ba commit 8feabac
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
ROM= LISP406
CFLAGS= -Wall -g -O3
LISP406_real= ../ROMs/LISP406

lisp: tlisp IMAGE reltab.bin combine
./combine -i a600 -r b800 tlisp IMAGE reltab.bin >lisp

compare: lisp
cmp $(LISP406_real) lisp && echo success
$(ROM): tlisp IMAGE reltab.bin combine
./combine -i a600 -r b800 tlisp IMAGE reltab.bin >$(ROM)

tlisp: lisp*.a
acme -DLISVAL='$$8000' -r tlisp.rep -o tlisp lisp.a

tlisphigh: lisp*.a
acme -DLISVAL='$$8100' -o tlisphigh lisp.a

# You probably don't have the run-bbc program. Instead you need to
# run tlisp on a BBC computer or emulator, and then execute the
# commands in init.lsp.

IMAGE: init.lsp tlisp
../bbc/run-bbc -c -i init.lsp tlisp
run-bbc -c -i init.lsp tlisp

reltab.bin: tlisp tlisphigh build-reltab
./build-reltab -b -e a400 -h d700 tlisp tlisphigh >reltab.bin
Expand All @@ -26,5 +27,5 @@ build-reltab: build-reltab.o
combine: combine.o

clean:
rm *.o build-reltab combine tlisp* IMAGE reltab.bin lisp
rm *.o build-reltab combine tlisp* IMAGE reltab.bin $(ROM)

0 comments on commit 8feabac

Please sign in to comment.