Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 708 Bytes
GHCFLAGS = -Wall -O2 --make -fno-warn-missing-signatures
.PHONY : malice2asm
malice2asm: libmalice.o
ghc ${GHCFLAGS} -o malice2asm Common.hs Parser.hs TypeCheck.hs OptimiseExpr.hs CGCommon.hs LLGen.hs CodeGen.hs Malice.hs
.PHONY : compile
compile: malice2asm
libmalice.o: libmalice.asm
nasm -f elf "libmalice.asm"
.PHONY : clean
clean:
rm -f malice_m2.tar.gz
rm -f *.hi
rm -f *.o
rm -f malice2asm
rm -f *~
rm -rf autotest-results/
.PHONY : tar
tar:
rm -f malice_m2.tar.gz
tar zcvf malice_m2.tar.gz *.hs compile Makefile AUTHORS README
.PHONY : test
test: malice2asm
./dotests.sh autotest/at-m2
./dotests.sh autotest/at-m2extra
./dotests.sh autotest/at-m2grad
./dotests.sh autotest/at-m3