Added test plusminus.
[voodoo-lang.git] / test / Makefile
blob99604c78f713aad5cf757265947905dff7d36298
1 NASM = nasm
2 VOODOOC = env RUBYLIB=../src:$(RUBYLIB) ../src/voodooc
4 TARGETS = bitwise fact hello plusminus tail-calls
6 all : $(TARGETS)
8 clean :
9 -for target in $(TARGETS); do rm "$$target".{asm,o}; done
11 distclean : clean
12 -rm $(TARGETS)
14 test : $(TARGETS)
15 ./test
17 .SUFFIXES : .asm .o .voo
19 .asm.o :
20 $(NASM) -f elf $<
22 .o :
23 $(CC) $< -o $@
25 .voo.asm :
26 $(VOODOOC) $<
28 .PHONY : all clean distclean test