ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/Makefile
(Generate patch)

Comparing ray/src/cv/mgflib/Makefile (file contents):
Revision 1.1 by greg, Tue Jun 21 14:45:49 1994 UTC vs.
Revision 1.5 by greg, Fri May 12 17:20:01 1995 UTC

# Line 2 | Line 2
2   # SCCSid "$SunId$ LBL"
3   # Makefile for MGF parser library
4   #
5 <
6 < OPT = -g
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  
17 mgfilt: libmgf.a mgfilt.o
18        $(CC) $(CFLAGS) -o mgfilt mgfilt.o libmgf.a -lm
19
22   clean:
23 <        rm -f *.o
23 >        set nonomatch ; rm -f *.o
24  
25   parser.o context.o xf.o object.o fvect.o:       parser.h
26  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines