home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
atomart.tar.gz
/
atomart.tar
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-06-27
|
839b
|
37 lines
LFLAGS = -n
YFLAGS = -d
MFLAGS = -fsingle -f68881 -O4 /usr/lib/f68881/libm.il -pipe
#MFLAGS = -fsingle -g -pipe
CFLAGS = $(MFLAGS) -I../../lib
SRCS = gram.c main.c lex.c message.c matrix.c rt.c shade.c stree.c light.c \
tile.c sphere.c poly.c smalloc.c util.c texture.c noise.c
OBJS = gram.o main.o lex.o message.o matrix.o rt.o shade.o stree.o light.o \
tile.o sphere.o poly.o smalloc.o util.o texture.o noise.o
atomart: $(OBJS) ../../lib/libvort.a
cc $(CFLAGS) -o atomart $(OBJS) ../../lib/libvort.a -ll -lm
lint: $(SRCS)
lint $(SRCS) -I../../lib -lm > atomart.lint
clean:
rm -f *.o core
clobber:
rm -f atomart *.o core
$(OBJS)\
: atomart.h gram.h macro.h ../../lib/vort.h
main.o: random.h
gram.c gram.h: gram.y
.y.c:
yacc -d $*.y
mv y.tab.c gram.c
if cmp -s y.tab.h $*.h; then rm y.tab.h; else mv y.tab.h $*.h; fi