]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | cc_defs = /inc=$(ZLIBSRC) | |
3 | c_deb = | |
4 | ||
5 | .ifdef __DECC__ | |
6 | pref = /prefix=all | |
7 | .endif | |
8 | ||
9 | ||
10 | ||
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 | |
14 | ||
15 | ||
16 | CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF) | |
17 | ||
18 | all : pngtest.exe libpng.olb | |
19 | @ write sys$output " pngtest available" | |
20 | ||
21 | libpng.olb : libpng.olb($(OBJS)) | |
22 | @ write sys$output " Libpng available" | |
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 : | |
32 | delete *.obj;*,*.exe; | |
33 | ||
34 | ||
35 | # Other dependencies. | |
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 | |
51 | ||
52 | pngtest.obj : png.h, pngconf.h |