Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view Makefile.win @ 49:1aea8079484b
Merged changes.
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 04 May 2020 18:37:34 -0700 |
parents | 4076f1bbf21d |
children |
line wrap: on
line source
CXX = cl CXXFLAGS = /nologo /I"$(JRE_HOME)\include" /I"$(JRE_HOME)\include\win32" \ /I"$(EXIV2_HOME)\include" /I"$(EXIV2_HOME)\build" /EHsc NDIR = src\name\blackcap\exifwasher\exiv2 BDIR = src\name\blackcap\exifwasher\binaries\windows LD = link LDFLAGS = /NOLOGO /DLL /LIBPATH:"$(EXIV2_HOME)\lib" /DEFAULTLIB:exiv2 .PHONY: all checkenv all: mkdirs checkenv $(BDIR)\jni.dll $(BDIR)\exiv2.dll mkdirs: @if not exist "$(BDIR)" md "$(BDIR)" checkenv: @checkenv JRE_HOME EXIV2_HOME $(NDIR)\native.obj: $(NDIR)\native.cpp $(CXX) $(CXXFLAGS) /c /Fo:"$@" "$?" $(BDIR)\jni.dll: $(NDIR)\native.obj $(LD) $(LDFLAGS) /OUT:"$@" "$?" $(BDIR)\exiv2.dll: "$(EXIV2_HOME)\bin\exiv2.dll" copy/y/b $? $@