Added generators to create ELF files for mips and mipsel.
[voodoo-lang.git] / lib / voodoo / Makefile
blobd5a063315afc6190929645e6db9a3b136a6a8d17
1 include ../../Makefile.cfg
3 TARGETS = config.rb
5 all : $(TARGETS)
7 clean :
9 distclean :
10 -rm $(TARGETS)
12 install : all
13 mkdir -p $(DESTDIR)$(RUBYLIBDIR)/voodoo
14 cp -r * $(DESTDIR)$(RUBYLIBDIR)/voodoo
16 config.rb : config.rb.in ../../Makefile.cfg
17 env DEFAULT_ARCHITECTURE="$(DEFAULT_ARCHITECTURE)" \
18 DEFAULT_FORMAT="$(DEFAULT_FORMAT)" \
19 NASM="$(NASM)" \
20 GAS="$(GAS)" \
21 $(RUBY) config.rb.in > config.rb
23 .PHONY : all clean distclean install