ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/Makefile
Revision: 1.5
Committed: Fri May 12 17:20:01 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 1.4: +4 -2 lines
Log Message:
added comments about different compile flags

File Contents

# Content
1 #
2 # SCCSid "$SunId$ LBL"
3 # Makefile for MGF parser library
4 #
5 # Use -DNOPROTO flag to get back K&R compatibility.
6 # Use -DBSD flag if your UNIX has a strong BSD flavor.
7 # Use '-DMEM_PTR=char *' if your malloc return type is not 'void *'.
8 MACH =
9 OPT = -O
10 CFLAGS = $(MACH) $(OPT)
11 CC = cc
12
13 OBJS = parser.o context.o xf.o object.o lookup.o badarg.o words.o fvect.o
14
15 mgfilt: libmgf.a mgfilt.o
16 $(CC) $(CFLAGS) -o mgfilt mgfilt.o libmgf.a -lm
17
18 libmgf.a: $(OBJS)
19 ar rc libmgf.a $(OBJS)
20 -ranlib libmgf.a
21
22 clean:
23 set nonomatch ; rm -f *.o
24
25 parser.o context.o xf.o object.o fvect.o: parser.h
26
27 parser.o context.o lookup.o: lookup.h
28
29 parser.o: messages.h
30
31 mgfilt.o: parser.h