Guy Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 1 | |
| 2 | cc_defs = /inc=$(ZLIBSRC) |
Glenn Randers-Pehrson glennrp@comcast.net | 7ecf7bd | 2009-05-02 15:36:08 -0500 | [diff] [blame] | 3 | c_deb = |
Guy Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 4 | |
| 5 | .ifdef __DECC__ |
| 6 | pref = /prefix=all |
| 7 | .endif |
| 8 | |
| 9 | |
| 10 | |
Andreas Dilger | 47a0c42 | 1997-05-16 02:46:07 -0500 | [diff] [blame] | 11 | OBJS = 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 Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 14 | |
| 15 | |
| 16 | CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF) |
| 17 | |
Glenn Randers-Pehrson glennrp@comcast.net | 7ecf7bd | 2009-05-02 15:36:08 -0500 | [diff] [blame] | 18 | all : pngtest.exe libpng.olb |
Cosmin Truta | 81a65de | 2018-11-25 20:27:04 -0500 | [diff] [blame] | 19 | @ write sys$output " pngtest available" |
Guy Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 20 | |
| 21 | libpng.olb : libpng.olb($(OBJS)) |
Cosmin Truta | 81a65de | 2018-11-25 20:27:04 -0500 | [diff] [blame] | 22 | @ write sys$output " libpng available" |
Guy Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 23 | |
| 24 | |
| 25 | pngtest.exe : pngtest.obj libpng.olb |
| 26 | link pngtest,libpng.olb/lib,$(ZLIBSRC)libz.olb/lib |
| 27 | |
| 28 | test : pngtest.exe |
| 29 | run pngtest |
| 30 | |
| 31 | clean : |
Glenn Randers-Pehrson glennrp@comcast.net | 7ecf7bd | 2009-05-02 15:36:08 -0500 | [diff] [blame] | 32 | delete *.obj;*,*.exe; |
Guy Schalnat | b2e01bd | 1996-01-26 01:38:47 -0600 | [diff] [blame] | 33 | |
| 34 | |
| 35 | # Other dependencies. |
Glenn Randers-Pehrson | 4250328 | 2014-01-12 10:44:01 -0600 | [diff] [blame] | 36 | png.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 37 | pngpread.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 38 | pngset.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 39 | pngget.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 40 | pngread.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 41 | pngrtran.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 42 | pngrutil.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 43 | pngerror.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 44 | pngmem.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 45 | pngrio.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 46 | pngwio.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 47 | pngtrans.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 48 | pngwrite.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 49 | pngwtran.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
| 50 | pngwutil.obj : png.h, pngconf.h, pnglibconf.h, pngpriv.h, pngstruct.h,pnginfo.h, pngdebug.h |
Glenn Randers-Pehrson glennrp@comcast.net | 7ecf7bd | 2009-05-02 15:36:08 -0500 | [diff] [blame] | 51 | |
Glenn Randers-Pehrson | 4250328 | 2014-01-12 10:44:01 -0600 | [diff] [blame] | 52 | pngtest.obj : png.h, pngconf.h, pnglibconf.h |