view src/win7appid.mk @ 6036:9ccca4b29aa3 release

gcc, mingw-w64: Set Windows API to Windows 7 for all Octave targets. * src/build-gcc.mk, src/mingw-w64.mk: Set Windows API to Windows 7 for all Octave targets (including "release-octave").
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 06 Jan 2022 12:59:14 +0100
parents 2b631cf1c210
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := win7appid
$(PKG)_VERSION  := 1.1
$(PKG)_CHECKSUM := d726a5832d7a3f49bd7912ca08c70aad96eb95b4
$(PKG)_SUBDIR   := $(PKG)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).zip
$(PKG)_URL      := https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/win7appid/source-archive.zip
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)/trunk/' && \
      $(MXE_CXX) Win7AppId.cpp -municode -DWIN32_LEAN_AND_MEAN=1 -DUNICODE -D_UNICODE -lole32 -o win7appid.exe
    mkdir -p '$(3)$(HOST_BINDIR)'
    $(INSTALL) '$(1)/trunk/win7appid.exe' '$(3)$(HOST_BINDIR)/'
endef