aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-05-10 22:18:10 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-05-10 22:18:10 +0000
commit4907015f56ae2c1b29e0b984c9b73daec58190bc (patch)
tree2807c4e783481f255a519c2f5ccc58d28d4fb54a /win
parent837f6e2884aee6f3ed6e4d81bd25a44edd7c14d9 (diff)
Create separate packages for Win64 binaries
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@181 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'win')
-rwxr-xr-xwin/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/Makefile b/win/Makefile
index 382857c..6bf95d4 100755
--- a/win/Makefile
+++ b/win/Makefile
@@ -229,11 +229,19 @@ $(ODIR)/jpegut.exe: $(ODIR)/jpegut.obj $(ODIR)/turbojpeg.lib
$(LINK) $(LDFLAGS) -out:$@ $^
+ifeq ($(WIN64), yes)
+dist: all
+ $(RM) $(ODIR)/libjpeg-turbo64.exe
+ makensis -nocd -DVERSION=$(VERSION) -DAPPNAME=libjpeg-turbo64 \
+ -DWLIBDIR=windows64 -DWSRCDIR=. -DWBLDDIR=windows64 -DWHDRDIR=win \
+ -DPLATFORM="Visual C++ 64-bit" release/libjpeg-turbo.nsi
+else
dist: all
$(RM) $(ODIR)/libjpeg-turbo.exe
makensis -nocd -DVERSION=$(VERSION) -DAPPNAME=libjpeg-turbo \
-DWLIBDIR=windows -DWSRCDIR=. -DWBLDDIR=windows -DWHDRDIR=win \
-DPLATFORM="Visual C++" release/libjpeg-turbo.nsi
+endif
test: testclean $(ODIR)/cjpeg.exe $(ODIR)/djpeg.exe $(ODIR)/jpegtran.exe \