include Make.cnf LIBNAME=libpict SRCS=pict.c io.c read.c #write.c OBJS=$(SRCS:.c=.o) LIBRARY=$(LIBNAME).a INCS=-I. all: $(LIBRARY) $(LIBRARY): $(OBJS) $(AR) cr $@ $(OBJS) .c.o: $(CC) $(MODEL) $(OPT) $(PIC) $(INCS) -c $< doc: clean: @rm -f $(LIBRARY) $(OBJS) core tags $(JUNK) clobber: clean depend: @makedepend -Y $(INCS) $(SRCS) 2>/dev/null @rm -f Makefile.bak # DO NOT DELETE pict.o: pict.h pictP.h read.o: pict.h pictP.h write.o: pict.h pictP.h