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 \
7 if many-vars mod mul plusminus raw rotate set-at set-byte set-word \
8 shift tail-calls vtable gcd
13 -for target in
$(TARGETS
); do
rm "$$target.asm" "$$target.o"; done
19 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) RUBY
=$(RUBY
) .
/test
22 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) $(RUBY
) gcd.rb
24 .SUFFIXES
: .asm .o .voo
36 $(VOODOOC
) -f nasm
-o
$@
$<
42 $(VOODOOC
) -f gas
-o
$@
$<
44 .PHONY
: all clean distclean test