1996-01-26 07:38:47 +00:00
|
|
|
|
|
|
|
cc_defs = /inc=$(ZLIBSRC)
|
|
|
|
c_deb =
|
|
|
|
|
|
|
|
.ifdef __DECC__
|
|
|
|
pref = /prefix=all
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
|
|
|
1997-05-16 07:46:07 +00:00
|
|
|
OBJS = png.obj, pngset.obj, pngget.obj, pngrutil.obj, pngtrans.obj,\
|
|
|
|
pngwutil.obj, pngread.obj, pngmem.obj, pngwrite.obj, pngrtran.obj,\
|
|
|
|
pngwtran.obj, pngrio.obj, pngwio.obj, pngerror.obj, pngpread.obj
|
1996-01-26 07:38:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF)
|
|
|
|
|
|
|
|
all : pngtest.exe libpng.olb
|
|
|
|
@ write sys$output " pngtest available"
|
|
|
|
|
|
|
|
libpng.olb : libpng.olb($(OBJS))
|
|
|
|
@ write sys$output " Libpng available"
|
|
|
|
|
|
|
|
|
|
|
|
pngtest.exe : pngtest.obj libpng.olb
|
|
|
|
link pngtest,libpng.olb/lib,$(ZLIBSRC)libz.olb/lib
|
|
|
|
|
|
|
|
test : pngtest.exe
|
|
|
|
run pngtest
|
|
|
|
|
|
|
|
clean :
|
|
|
|
delete *.obj;*,*.exe;*
|
|
|
|
|
|
|
|
|
|
|
|
# Other dependencies.
|
|
|
|
png.obj : png.h, pngconf.h
|
|
|
|
pngpread.obj : png.h, pngconf.h
|
1997-05-16 07:46:07 +00:00
|
|
|
pngset.obj : png.h, pngconf.h
|
|
|
|
pngget.obj : png.h, pngconf.h
|
1996-01-26 07:38:47 +00:00
|
|
|
pngread.obj : png.h, pngconf.h
|
|
|
|
pngrtran.obj : png.h, pngconf.h
|
|
|
|
pngrutil.obj : png.h, pngconf.h
|
|
|
|
pngerror.obj : png.h, pngconf.h
|
|
|
|
pngmem.obj : png.h, pngconf.h
|
1996-06-05 20:50:50 +00:00
|
|
|
pngrio.obj : png.h, pngconf.h
|
|
|
|
pngwio.obj : png.h, pngconf.h
|
1996-01-26 07:38:47 +00:00
|
|
|
pngtest.obj : png.h, pngconf.h
|
|
|
|
pngtrans.obj : png.h, pngconf.h
|
|
|
|
pngwrite.obj : png.h, pngconf.h
|
|
|
|
pngwtran.obj : png.h, pngconf.h
|
|
|
|
pngwutil.obj : png.h, pngconf.h
|
|
|
|
|