1 include ..
/Makefile.cfg
4 VOODOOC ?
= env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) ..
/bin
/voodooc
6 TARGETS
= bitwise call div fact goto hello if mod mul plusminus \
7 set-byte set-word tail-calls vtable
99bottles
12 -for target in
$(TARGETS
); do
rm "$$target.asm" "$$target.o"; done
20 99bottles.o
: 99bottles.rb
21 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) $(RUBY
) 99bottles.rb
23 .SUFFIXES
: .asm .o .voo
32 $(VOODOOC
) -f nasm
-o
$@
$<
37 .PHONY
: all clean distclean test