packages feed

BASIC-0.1.0.0: examples/Makefile

ghc := ghc
ghcflags := -Wall -optl -w
examples := Hello HiLo Infinity

all: $(examples)

%: %.hs
	$(ghc) $(ghcflags) --make -o $@ -main-is $(basename $<).main $<

%.run: %
	./$<

run:	$(examples:%=%.run)

clean:
	rm -f $(examples) *.o *.hi *.s *.bc Fib *.exe *.exe.manifest *.bc