| 1 |
#------------------------------------------------------------- -*- makefile -*- |
| 2 |
# |
| 3 |
# Makefile |
| 4 |
# |
| 5 |
# Basic build, test and install |
| 6 |
# nmake /f makefile.vc INSTALLDIR=c:\tcl TCLDIR=c:\path\to\tcl\sources TKDIR=c:\path\to\tk\sources |
| 7 |
# nmake /f makefile.vc INSTALLDIR=c:\tcl test TCLDIR=c:\path\to\tcl\sources TKDIR=c:\path\to\tk\sources |
| 8 |
# nmake /f makefile.vc INSTALLDIR=c:\tcl install TCLDIR=c:\path\to\tcl\sources TKDIR=c:\path\to\tk\sources |
| 9 |
# Note this extension needs both Tcl and Tk *source* to build. |
| 10 |
# |
| 11 |
# For other build options (debug, static etc.), |
| 12 |
# See TIP 477 (https://core.tcl.tk/tips/doc/trunk/tip/477.md) for |
| 13 |
# detailed documentation. |
| 14 |
# |
| 15 |
#------------------------------------------------------------------------------ |
| 16 |
|
| 17 |
PHIMGTYPE = png |
| 18 |
PRJ_DEFINES = -D_CRT_SECURE_NO_DEPRECATE -wd4996 -wd4267 |
| 19 |
REQUIRE_ZLIB = 1 |
| 20 |
REQUIRE_LIBPNG = 1 |
| 21 |
!include "..\..\win\rules-img.vc" |
| 22 |
|
| 23 |
$(PRJ_OBJS): $(TMP_DIR)\pnglibconf.h |
| 24 |
$(TMP_DIR)\pnglibconf.h: ..\..\compat\libpng\scripts\pnglibconf.h.prebuilt |
| 25 |
$(COPY) $** "$@" |