summaryrefslogtreecommitdiff
path: root/deprecated/old-lib/resource/Makefile
blob: 7c7d1900fef31efd65b88b502ba5d79220faadbd (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
RUNGHC=runghc
RUNMAKE=$(RUNGHC) Make.hs

.PHONY: all present alltenses lang api math test demo synopsis link compiled clean

all: link present alltenses math

present:
	$(RUNMAKE) present lang
	$(RUNMAKE) present api

alltenses: 
	$(RUNMAKE) lang
	$(RUNMAKE) api

lang:
	$(RUNMAKE) lang

api:
	$(RUNMAKE) api

math:
	$(RUNMAKE) math

compat:
	gf -batch */Compatibility*.gf
	cp -p */Compatibility*.gfo ../alltenses/
	cp -p */Compatibility*.gfo ../present/
#	$(RUNMAKE) present compat
#	$(RUNMAKE) compat

test:
	$(RUNMAKE) test

demo:
	$(RUNMAKE) demo

synopsis:
	cd doc ; $(RUNGHC) MkSynopsis ; cd ..

link:
	chmod a+x mkPresent

compiled:
	(cd .. && tar -zcf resource-compiled.tar.gz prelude alltenses present mathematical)

clean:
	$(RUNMAKE) clean