10 # Makefile : Builds PNG library (BC++ 32-bit)
12 # WXWIN and BCCDIR are set by parent make
18 !include ..\makeb32.env
20 OBJECTS = $(OBJ_PATH)\png.obj \
21 $(OBJ_PATH)\pngread.obj \
22 $(OBJ_PATH)\pngrtran.obj \
23 $(OBJ_PATH)\pngrutil.obj \
24 $(OBJ_PATH)\pngpread.obj \
25 $(OBJ_PATH)\pngtrans.obj \
26 $(OBJ_PATH)\pngwrite.obj \
27 $(OBJ_PATH)\pngwtran.obj \
28 $(OBJ_PATH)\pngwutil.obj \
29 $(OBJ_PATH)\pngerror.obj \
30 $(OBJ_PATH)\pngmem.obj \
31 $(OBJ_PATH)\pngwio.obj \
32 $(OBJ_PATH)\pngrio.obj \
33 $(OBJ_PATH)\pngget.obj \
34 $(OBJ_PATH)\pngset.obj
36 # Precompiled headers seem to interfere with correct compilation
37 # of png library, so switch them off
41 $(OBJ_PATH)\png.obj: png.c
43 $(OBJ_PATH)\pngread.obj: pngread.c
45 $(OBJ_PATH)\pngrtran.obj: pngrtran.c
47 $(OBJ_PATH)\pngrutil.obj: pngrutil.c
49 $(OBJ_PATH)\pngpread.obj: pngpread.c
51 $(OBJ_PATH)\pngtrans.obj: pngtrans.c
53 $(OBJ_PATH)\pngwrite.obj: pngwrite.c
55 $(OBJ_PATH)\pngwtran.obj: pngwtran.c
57 $(OBJ_PATH)\pngwutil.obj: pngwutil.c
59 $(OBJ_PATH)\pngerror.obj: pngerror.c
61 $(OBJ_PATH)\pngmem.obj: pngmem.c
63 $(OBJ_PATH)\pngwio.obj: pngwio.c
65 $(OBJ_PATH)\pngrio.obj: pngrio.c
67 $(OBJ_PATH)\pngget.obj: pngget.c
69 $(OBJ_PATH)\pngset.obj: pngset.c
71 !include ..\makelib.b32