Debian Codegraph @

demo/carsim/Makefile

raw
1
2 PROGS = carsim
3 SOURCES = CarSim.hs
4
5 all : $(PROGS)
6
7 carsim : CarSim.hs
8 $(HC_RULE)
9
10 HC_RULE = $(HC) --make $< -o $@ $(HCFLAGS)
11
12 clean:
13 rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROGS)
14
15 HC=ghc