blob: a3aefbf4c81b0c780f529a5a2f0b251e57867b4f [file] [log] [blame]
Guy Schalnatb2e01bd1996-01-26 01:38:47 -06001
2cc_defs = /inc=$(ZLIBSRC)
Glenn Randers-Pehrson glennrp@comcast.net7ecf7bd2009-05-02 15:36:08 -05003c_deb =
Guy Schalnatb2e01bd1996-01-26 01:38:47 -06004
5.ifdef __DECC__
6pref = /prefix=all
7.endif
8
9
10
Andreas Dilger47a0c421997-05-16 02:46:07 -050011OBJS = png.obj, pngset.obj, pngget.obj, pngrutil.obj, pngtrans.obj,\
12 pngwutil.obj, pngread.obj, pngmem.obj, pngwrite.obj, pngrtran.obj,\
13 pngwtran.obj, pngrio.obj, pngwio.obj, pngerror.obj, pngpread.obj
Guy Schalnatb2e01bd1996-01-26 01:38:47 -060014
15
16CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF)
17
Glenn Randers-Pehrson glennrp@comcast.net7ecf7bd2009-05-02 15:36:08 -050018all : pngtest.exe libpng.olb
Cosmin Truta81a65de2018-11-25 20:27:04 -050019 @ write sys$output " pngtest available"
Guy Schalnatb2e01bd1996-01-26 01:38:47 -060020
21libpng.olb : libpng.olb($(OBJS))
Cosmin Truta81a65de2018-11-25 20:27:04 -050022 @ write sys$output " libpng available"
Guy Schalnatb2e01bd1996-01-26 01:38:47 -060023
24
25pngtest.exe : pngtest.obj libpng.olb
26 link pngtest,libpng.olb/lib,$(ZLIBSRC)libz.olb/lib
27
28test : pngtest.exe
29 run pngtest
30
31clean :
Glenn Randers-Pehrson glennrp@comcast.net7ecf7bd2009-05-02 15:36:08 -050032 delete *.obj;*,*.exe;
Guy Schalnatb2e01bd1996-01-26 01:38:47 -060033
34
35# Other dependencies.
Glenn Randers-Pehrson42503282014-01-12 10:44:01 -060036png.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
37pngpread.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
38pngset.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
39pngget.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
40pngread.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
41pngrtran.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
42pngrutil.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
43pngerror.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
44pngmem.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
45pngrio.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
46pngwio.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
47pngtrans.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
48pngwrite.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
49pngwtran.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
50pngwutil.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h
Glenn Randers-Pehrson glennrp@comcast.net7ecf7bd2009-05-02 15:36:08 -050051
Glenn Randers-Pehrson42503282014-01-12 10:44:01 -060052pngtest.obj : png.h, pngconf.h, pnglibconf.h