# This Makefile for unix platforms makes a library file (.a file) containing all the # OA and L3 object code, and makes the two test executables: t_images.exe and # t_tables.exe. # # Depending on the platform you're compiling on, you need to include the # correct .def file below: # # Sun Sparc/SunOS and Solaris: sun.nonansi.def or sun.sparc.def # Silicon Graphics/Irix: sgi.iris.def # Dec 3100/Ultrix: dec.ultrix.def # Dec Alpha/OSF: dec.alpha.def # # Change this line as needed include sgi.iris.def LIB_OBJS = binrep.o clmdcmp1.o clmdcmp2.o decomp.o oal.o oamalloc.o \ obj_l1.o obj_l2.o odlutils.o rprt_err.o stream_l.o struct_l.o \ lablib3.o oa_gif.o INCS = binrep.h jpeg_c.h oal.h oal_sys.h oamalloc.h odlutils.h \ stream_l.h lablib3.h toolbox.h all: oal.a t_images.exe t_tables.exe oal.a: $(LIB_OBJS) ar rv oal.a $(LIB_OBJS) $(RANLIB) oal.a $(LIB_OBJS): $(INCS) $(CC) $(FLAGS) -c $*.c t_images.exe : t_images.c $(CC) $(FLAGS) -o t_images.exe t_images.c $(LIB) t_tables.exe : t_tables.c $(CC) $(FLAGS) -o t_tables.exe t_tables.c $(LIB) clean: @echo "cleaning" rm -f oal.a $(LIB_OBJS)