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