3
0
mirror of https://github.com/CrazyRedMachine/popnhax.git synced 2024-11-27 23:40:50 +01:00
popnhax/Module.mk

30 lines
766 B
Makefile
Raw 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
2024-06-16 20:44:13 +02:00
include libdisasm/Module.mk
2023-02-10 20:29:11 +01:00
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