summaryrefslogtreecommitdiff
path: root/graphics/mma2ltx/makefile.ami
blob: 508dac7b36db862e4f6e57c1649ab8a8b056e75c (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
#
# Makefile for the Amiga
#
# mma2ltx v1.21
#
# Copyright (C) 1994, 1995 by Giuseppe Ghibo`
#
# Latest revision: 16 May 1995
#

LATEX = virtex &lplain
DVIPS = dvips
RM    = delete
CPU   = ANY
MATH  = I
OPT   = OPTIMIZE

CFLAGS = RESOPT CPU=$(CPU) MATH=$(MATH) $(OPT) NOICON

all: mma2ltx extpro mysample.ps

mma2ltx: mma2ltx.c
	$(CC) $(CFLAGS) LINK PNAME=mma2ltx mma2ltx.c

extpro: extpro.c
	$(CC) $(CFLAGS) LINK PNAME=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) \#?.(o|lnk|log|aux|bak|dvi)

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