aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-02-15 17:10:36 +0000
committerDRC <dcommander@users.sourceforge.net>2010-02-15 17:10:36 +0000
commit45ff6e2745e855259d218bcf84e175bb3c331a73 (patch)
tree2dbc64e731327f31568d88000684b6270a2a9419 /win
parentfb18e856e4593aa8154f4bd3af81d08b6ed250b7 (diff)
downloadlibjpeg-turbo-45ff6e2745e855259d218bcf84e175bb3c331a73.tar.gz
Create Windows installer
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@108 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'win')
-rwxr-xr-xwin/Makefile6
-rwxr-xr-xwin/Makerules2
2 files changed, 8 insertions, 0 deletions
diff --git a/win/Makefile b/win/Makefile
index 76dcf80f..6456c46f 100755
--- a/win/Makefile
+++ b/win/Makefile
@@ -188,6 +188,12 @@ jpegut.exe: jpegut.obj turbojpeg.lib
$(LINK) $(LDFLAGS) -out:$@ $^
+dist: all
+ $(RM) libjpeg-turbo.exe
+ makensis /nocd //DVERSION=$(VERSION) release/libjpeg-turbo.nsi || \
+ makensis /nocd /DVERSION=$(VERSION) release/libjpeg-turbo.nsi # Cygwin doesn't like the //
+
+
test: testclean cjpeg.exe djpeg.exe jpegtran.exe
jpegut
djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
diff --git a/win/Makerules b/win/Makerules
index f122593b..d47e690b 100755
--- a/win/Makerules
+++ b/win/Makerules
@@ -1,3 +1,5 @@
+VERSION = 0.0.90
+
CC = "cl" -nologo
CXX = "cl" -EHsc -nologo
AR = "link" -lib -nologo