SOURCE=Board.hs Event.hs Game.hs Main.hs Observer.hs Opts.hs Pack.hs Pos.hs Robo.hs Server.hs Utils.hs AUX=README LICENSE Makefile ChangeLog doc.html style.css PACKS=-package net -package posix -package concurrent -package util -package data OPT=-O2 -optl -static -optl -s # OPT=-O2 -static -optl -s -prof -auto-all #OPT= #INC=-ilib -ilib/Monads INC= WARN=-fwarn-name-shadowing -fwarn-incomplete-patterns Simulator: *.hs ghc --make $(WARN) $(PACKS) $(OPT) $(INC) -o Simulator Main.hs simulator.tar.gz:: tar zcvf simulator.tar.gz $(AUX) $(SOURCE) clean: rm -f *.hi *.o Simulator GenPacks:: ghc --make $(WARN) $(PACKS) $(OPT) -o GenPacks GenPacks -fglasgow-exts