8 |
|
CFLAGS = $(MACH) $(OPT) |
9 |
|
CC = cc |
10 |
|
|
11 |
< |
COMPAT = bmalloc.o erf.o # frexp.o fwrite.o random.o |
11 |
> |
COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o |
12 |
|
|
13 |
|
LIBDIR = /usr/local/lib/ray |
14 |
|
|
20 |
|
|
21 |
|
STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \ |
22 |
|
urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \ |
23 |
< |
multisamp.o process.o getpath.o error.o savestr.o strcmp.o savqstr.o \ |
23 |
> |
multisamp.o process.o getpath.o error.o savestr.o savqstr.o \ |
24 |
|
badarg.o fgetword.o words.o wordfile.o cputs.o wputs.o eputs.o quit.o |
25 |
|
|
26 |
< |
SYSOBJ = ealloc.o $(COMPAT) |
26 |
> |
SYSOBJ = ealloc.o portio.o $(COMPAT) |
27 |
|
|
28 |
|
librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
29 |
|
ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
33 |
|
mv librt.a ../lib |
34 |
|
|
35 |
|
clean: |
36 |
< |
rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a |
36 |
> |
rm -f *.o librt.a |
37 |
|
|
38 |
|
fropen.o: fropen.c |
39 |
|
$(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c |