popnhax/Module.mk

29 lines
738 B
Makefile
Raw Permalink Normal View History

2023-02-10 20:29:11 +01:00
cflags += -DWIN32_LEAN_AND_MEAN -DCOBJMACROS -Ipkcs11 -Wno-attributes
avsvers_32 := 1700 1508
avsvers_64 := 1700 1509
imps += avs avs-ea3
include util/Module.mk
include minhook/Module.mk
include popnhax/Module.mk
#
# Distribution build rules
#
zipdir := $(BUILDDIR)/zip
2024-05-02 14:07:22 +02:00
popnhax_version := $(shell grep "define PROGRAM_VERSION" popnhax/dllmain.cc | cut -d'"' -f2)
2024-05-04 01:51:59 +02:00
$(BUILDDIR)/popnhax_v$(popnhax_version).zip: \
2024-05-02 14:07:22 +02:00
build/bin/avs2_1508-32/popnhax.dll
@echo ... $@
@mkdir -p $(zipdir)
@cp -a -p build/bin/avs2_1508-32/popnhax.dll $(zipdir)
@cp -r -a -p dist/popnhax/* $(zipdir)
@cd $(zipdir) \
2024-05-04 01:51:59 +02:00
&& zip -r ../popnhax_v$(popnhax_version).zip ./*
2024-05-02 14:07:22 +02:00
2024-05-04 01:51:59 +02:00
all: $(BUILDDIR)/popnhax_v$(popnhax_version).zip