blob: 2246f0aac8af16679b94d2877956540a621cc9e3 (
plain) (
blame)
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
50
51
52
53
54
55
56
57
58
59
60
|
--- makefile.orig Fri Aug 6 15:11:40 1999
+++ makefile Fri Aug 6 15:17:05 1999
@@ -18,6 +18,34 @@
show.o \
token.o
+
+EXAMPLE_SRC = \
+ acc.jgr \
+ ad.jgr \
+ alb.jgr \
+ bailey.jgr \
+ cube.jgr \
+ disk.jgr \
+ ebars.jgr \
+ ex1.jgr \
+ ex2.jgr \
+ data.txt \
+ g8.jgr \
+ g8col.jgr \
+ g9n10.jgr \
+ gpaper.jgr \
+ hypercube.jgr \
+ mab2.jgr \
+ mab2.times \
+ nr.jgr \
+ sin.pts \
+ sin1.jgr \
+ sin2.pts \
+ sin2.jgr \
+ sin3.pts \
+ sin3.jgr \
+ wortman.jgr
+
EXAMPLES = \
acc.jps \
acc.eps \
@@ -58,14 +86,20 @@
.tex.dvi:
latex $*.tex
.c.o:
- $(CC) -c -g $*.c
+ $(CC) -c $(CFLAGS) $*.c
jgraph: $(OBJS)
- $(CC) -g $(OBJS) -lm -o jgraph
+ $(CC) $(CFLAGS) $(OBJS) -lm -o jgraph
sin: sin.o
cc -o sin sin.o -lm
+
+install: jgraph
+ install -c -m 555 -o bin -g bin jgraph ${PREFIX}/bin
+ install -c -m 444 -o bin -g bin jgraph.1 ${PREFIX}/man/man1
+ -mkdir -p -m 755 ${PREFIX}/share/jgraph
+ install -c -m 444 -o bin -g bin $(EXAMPLE_SRC) ${PREFIX}/share/jgraph
ad.jps: cube.eps disk.eps
bailey.jps: bailey.pts
|