compiler/Makefile
sjs 221efca282 [NEW] while, until, repeat, and break keywords.
While and until loops work as in C and Ruby.  Repeat loops infinitely
(or until a break is encountered).  Break is used to break out of the
innermost loop construct.
2009-05-17 08:13:43 -07:00

12 lines
211 B
Makefile

build: test.rb test.code
ruby test.rb test.code
nasm -f elf -g -o test.o test.asm
ld -o test test.o
# $? indicates success as per unix convention
./test
clean:
@rm -f test.o
@rm -f test
@rm -f test.asm