forked from jgoerzen/twidge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 673 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# arch-tag: Primary makefile
# Copyright (c) 2004-2006 John Goerzen
#
all: setup # GHC build
./setup configure
./setup build
doc: lib/dfs.html/index.html lib/dfs.pdf lib/dfs.ps lib/dfs.txt
hugsbuild: setup
./setup configure --hugs
./setup build
setup: Setup.lhs twidge.cabal
ghc -package Cabal Setup.lhs -o setup
clean: clean-code clean-doc
clean-code:
-./setup clean
-cd libsrc && ../setup clean
-rm -rf dist libsrc/dist *.ho *.hi *.o *.a setup *~
-rm -f `find . -name "*~"` `find . -name "*.o"`
-rm -f `find . -name "*.cm*"`
clean-doc:
-cd doc && scons -c && scons -c html pdf text ps
-rm -rf doc/.sconsign* .depend test
-rm -f doc/manpage* doc/*.1