aboutsummaryrefslogtreecommitdiff
path: root/plotlib/sym/Makefile
blob: c5e14079c59ebae77508e10c69321ad9fd1600fe (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#***********************************************************************
#    Module:  Makefile (Xplot/sym directory)
# 
#    Copyright (C) 1996 Harold Youngren, Mark Drela 
# 
#    This library is free software; you can redistribute it and/or
#    modify it under the terms of the GNU Library General Public
#    License as published by the Free Software Foundation; either
#    version 2 of the License, or (at your option) any later version.
#
#    This library is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#    Library General Public License for more details.
#
#    You should have received a copy of the GNU Library General Public
#    License along with this library; if not, write to the Free
#    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# 
#    Report problems to:    guppy@maine.com 
#                        or drela@mit.edu  
#***********************************************************************

#Makefile for stroke font creation and editing programs 

FC    = f77
#FC   = g77
FFLAGS = -O1
LIBS   = ../libPlt.a  -lX11

PROGS = symgen  test

all:	$(PROGS)

clean:
	-/bin/rm *.o
	-/bin/rm *.a
	-/bin/rm $(PROGS)


symgen: symgen.o
	$(FC) -o symgen symgen.o $(LIBS)

symgen.o: symgen.f
	$(FC) -c $(FFLAGS) symgen.f

../plt_font.o: ../plt_font.f ../CHAR.INC ../SLAN.INC ../MATH.INC ../SYMB.INC
	$(FC) -c $(FFLAGS) ../plt_font.f
	mv ./plt_font.o ../



test: test.o ../plt_font.o
	$(FC) -o test test.o ../plt_font.o $(LIBS)

test.o: test.f
	$(FC) -c $(FFLAGS) test.f