CC = cc CCOPTS = -ansi -mips2 -float -O -c LINK = cc LDOPTS = -s LIBS = -lm -lgl -lc -s EXEC = isoaxis OBJS = fmath.o iso.o isoaxis.o points.o geom.o SRCS = $(OBJS:.o=.c) HDRS = fmath.h points.h version.h menu.h DATA = alfa.dat default all: $(EXEC) .c.o: $(CC) $(CCOPTS) $< $(EXEC): $(OBJS) $(LINK) $(LDOPTS) -o $(EXEC) $(OBJS) $(LIBS) clean clobber: rm -f ${PROGS} *.o tags: $(HDRS) $(SRCS) @ctags $(HDRS) $(SRCS) depend: makedepend -Y $(SRCS) 2>/dev/null @mv -f Makefile.bak $(HOME)/dumpster backup: $(HDRS) $(SRCS) $(DATA) gtar cvzf isoaxis.tgz $(SRCS) $(HDRS) $(DATA) Makefile love: @echo I love you # DO NOT DELETE THIS LINE -- make depend depends on it. fmath.o: points.h fmath.h iso.o: menu.h version.h isoaxis.o: points.h fmath.h points.o: points.h geom.o: points.h