summaryrefslogtreecommitdiff
path: root/graphics/mma2ltx/Makefile
blob: 8a8c17b95fd375c7fdf9a114a8acfd3292298abd (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
#
# Makefile for Unix
#
# mma2ltx v1.22
#
# Copyright (C) 1994, 1995 by Giuseppe Ghibo`
#
# Latest revision: 25 May 1995
#

LATEX = latex
DVIPS = dvips
RM = rm
CFLAGS = -O

all: mma2ltx extpro mysample.ps

mma2ltx: mma2ltx.c
	$(CC) $(CFLAGS) -o mma2ltx mma2ltx.c -lm

extpro: extpro.c
	$(CC) $(CFLAGS) -o extpro extpro.c

mysample.ps:	mysample.dvi
	$(DVIPS) mysample.dvi

mysample.dvi: mysample.tex mypic.tex
	$(LATEX) mysample.tex

mypic.tex: mypic.ps mma2ltx
	mma2ltx -ucm -w10cm -sfootnotesize mypic.ps

clean:
	- $(RM) -f *.log *.aux *.o *.dvi core

veryclean: clean
	- $(RM) mma2ltx extpro mypic.tex mypic.eps