1 include ..
/Makefile.cfg
4 VOODOOC ?
= env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) ..
/bin
/voodooc
6 TARGETS
= at block bitwise bytes call div else-if fact goto hello if \
7 many-vars mod mul plusminus raw rotate set-byte set-word shift \
8 tail-calls vtable
99bottles gcd
13 -for target in
$(TARGETS
); do
rm "$$target.asm" "$$target.o"; done
19 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) RUBY
=$(RUBY
) .
/test
21 99bottles.o
: 99bottles.rb
22 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) $(RUBY
) 99bottles.rb
25 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) $(RUBY
) gcd.rb
27 .SUFFIXES
: .asm .o .voo
39 $(VOODOOC
) -f nasm
-o
$@
$<
45 $(VOODOOC
) -f gas
-o
$@
$<
47 .PHONY
: all clean distclean test