Minor wibbles
[packages/hoopl.git] / src / GNUmakefile
1 SRC=Graph Label GraphUtil Fuel MkGraph Dataflow
2 HOOPL=Compiler/Hoopl
3 HS=${SRC:%=$(HOOPL)/%.hs}
4 O=${SRC:%=$(HOOPL)/%.o}
5
6
7 .PHONY: all clean
8
9 all: $O
10
11
12 %.o: %.hs
13         ghc --make -c $*.hs
14
15
16 clean:
17         rm -f $(HOOPL)/*.o
18         rm -f $(HOOPL)/*.hi
19         rm -f *~ $(HOOPL)/*~