1 include ..
/Makefile.cfg
4 VOODOOC ?
= env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) ..
/bin
/voodooc
6 TARGETS
= auto-bytes auto-words at block bitwise bytes call div else-if fact \
7 goto hello if many-args many-args-tail many-locals mod mul plusminus \
8 raw rotate set-at set-byte set-word shift substitute-number \
14 -for target in
$(TARGETS
); do
rm "$$target.asm" "$$target.o"; done
20 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) RUBY
=$(RUBY
) .
/test
23 env RUBYLIB
=$(PWD
)/..
/lib
:$(RUBYLIB
) $(RUBY
) gcd.rb
25 .SUFFIXES
: .asm .o .s .voo
37 $(VOODOOC
) -f nasm
-o
$@
$<
43 $(VOODOOC
) -f gas
-o
$@
$<
45 .PHONY
: all clean distclean test