Debian Codegraph @

demo/treelist/Makefile

raw
1
2 PROGS = listdemo treedemo listtest treetest dirlist treesort completion \
3 listdnd filterdemo listtext
4
5 SOURCES = ListDemo.hs TreeDemo.hs ListTest.hs TreeTest.hs DirList.hs \
6 TreeSort.hs Completion.hs ListDND.hs FilterDemo.hs ListText.hs
7
8 all : $(PROGS)
9
10 listdemo : ListDemo.hs
11 $(HC_RULE)
12
13 treedemo : TreeDemo.hs
14 $(HC_RULE)
15
16 listtest : ListTest.hs
17 $(HC_RULE)
18
19 treetest : TreeTest.hs
20 $(HC_RULE)
21
22 dirlist : DirList.hs
23 $(HC_RULE)
24
25 treesort : TreeSort.hs
26 $(HC_RULE)
27
28 completion : Completion.hs
29 $(HC_RULE)
30
31 listdnd : ListDND.hs
32 $(HC_RULE)
33
34 filterdemo : FilterDemo.hs
35 $(HC_RULE)
36
37 listtext : ListText.hs
38 $(HC_RULE)
39
40 HC_RULE = $(HC) --make $< -o $@ $(HCFLAGS)
41
42 clean:
43 rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROGS)
44
45 HC=ghc