summaryrefslogtreecommitdiff
path: root/Makefile.vc
diff options
context:
space:
mode:
authordron <dron>2004-04-15 09:48:25 +0000
committerdron <dron>2004-04-15 09:48:25 +0000
commit2daa60ec4e0a90d437595e818b5a5b61694313b9 (patch)
tree1909f5ca591423d7caf4dc513c4a61184d2d2d30 /Makefile.vc
parent612c33525a13f1f92075cd4a18a244d504616dcc (diff)
downloadlibtiff-2daa60ec4e0a90d437595e818b5a5b61694313b9.tar.gz
*** empty log message ***
Diffstat (limited to 'Makefile.vc')
-rw-r--r--Makefile.vc35
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile.vc b/Makefile.vc
new file mode 100644
index 00000000..3cecd84a
--- /dev/null
+++ b/Makefile.vc
@@ -0,0 +1,35 @@
+#
+# Simple MS VC++ Makefile
+#
+# To build:
+# C:\libtiff\tools> nmake /f makefile.vc
+
+!INCLUDE ..\nmake.opt
+
+TARGETS = tiffcp.exe tiffinfo.exe tiffdump.exe fax2tiff.exe \
+ fax2ps.exe gif2tiff.exe pal2rgb.exe ppm2tiff.exe \
+ rgb2ycbcr.exe thumbnail.exe ras2tiff.exe raw2tiff.exe \
+ tiff2bw.exe tiff2rgba.exe tiff2pdf.exe tiff2ps.exe \
+ tiffcmp.exe tiffdither.exe tiffmedian.exe tiffsplit.exe
+
+EXTRA_OBJ = strcasecmp.obj getopt.obj
+
+INCL = -I..\libtiff
+LIBS = $(LIBS) ..\libtiff\libtiff.lib
+
+default: $(EXTRA_OBJ) $(TARGETS)
+
+.c.exe:
+ $(CC) $(CFLAGS) $*.c $(EXTRA_OBJ) $(LIBS)
+
+tiffgt.exe:
+ $(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)
+
+getopt.obj: ..\port\getopt.c
+ $(CC) /c $(CFLAGS) ..\port\getopt.c
+
+strcasecmp.obj: ..\port\strcasecmp.c
+ $(CC) /c $(CFLAGS) ..\port\strcasecmp.c
+
+clean:
+ -del *.exe *.obj