From 188b0a2841b887aa7c4ce3a62b132338354a68eb Mon Sep 17 00:00:00 2001 From: z3apa3a <3proxy@3proxy.ru> Date: Sat, 15 Mar 2025 11:17:59 +0300 Subject: [PATCH] Add resources compilation to Makefile.win --- Makefile.win | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.win b/Makefile.win index 1e6b722..f64dcd8 100644 --- a/Makefile.win +++ b/Makefile.win @@ -29,9 +29,17 @@ TYPECOMMAND = cat COMPATLIBS = MAKEFILE = Makefile.win PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin SSLPLugin +VERFILE := 3proxy.res $(VERFILE) +VERSION := $(VERSION) +VERSIONDEP := 3proxyres.o $(VERSIONDEP) +BUILDDATE := $(BUILDDATE) +AFTERCLEAN = (find . -type f -name "*.o" -delete && find . -type f -name "*.res" -delete && find src/ -type f -name "Makefile.var" -delete && find bin/ -type f -executable -delete) || true include Makefile.inc +3proxyres.o: + windres 3proxy.rc -o 3proxyres.o + allplugins: @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done