# # Makefile for GIF and PCX read and write modules. # include /usr/avs/include/Makeinclude AVS_LIBS = $(ROOT)/usr/avs/lib INC = $(ROOT)/usr/include CFLAGS = -I$(INC) $(AOPTCFLAGS) $(LOCAL_CFLAGS) BASELIBS=-lgeom -lutil -lm $(LASTLIBS) FLOWLIBS=-L$(AVS_LIBS) -lflow_c $(BASELIBS) all: read_gif read_pcx write_gif write_pcx read_gif: read_gif.o libpbm1.o $(CC) $(CFLAGS) -o read_gif read_gif.o libpbm1.o $(FLOWLIBS) read_gif.o: read_gif.c $(CC) $(CFLAGS) -c read_gif.c read_pcx: read_pcx.o libpbm1.o $(CC) $(CFLAGS) -o read_pcx read_pcx.o libpbm1.o $(FLOWLIBS) read_pcx.o: read_pcx.c $(CC) $(CFLAGS) -c read_pcx.c write_gif: write_gif.o libpbm1.o $(CC) $(CFLAGS) -o write_gif write_gif.o libpbm1.o $(FLOWLIBS) write_gif.o: write_gif.c $(CC) $(CFLAGS) -c write_gif.c write_pcx: write_pcx.o libpbm1.o $(CC) $(CFLAGS) -o write_pcx write_pcx.o libpbm1.o $(FLOWLIBS) write_pcx.o: write_pcx.c $(CC) $(CFLAGS) -c write_pcx.c libpbm1.o: libpbm1.c $(CC) $(CFLAGS) -c libpbm1.c