Files
ngx-http-pow/Makefile
T

19 lines
502 B
Makefile

default: build
build: ngx_http_pow.c
cd ../nginx; make -f Makefile modules; cd ../ngx-http-pow
.PHONY: configure
configure:
cd ../nginx; \
../nginx/auto/configure \
--prefix=/Users/jona/repos/ngx-pow/nginx/install \
--with-debug \
--add-dynamic-module=/Users/jona/repos/ngx-pow/ngx-http-pow \
--with-cc-opt='-I /opt/homebrew/Cellar/pcre2/10.47_1/include' \
--with-cc-opt='-I /opt/homebrew/opt/openssl@3/include'
.PHONY: run
run: build
../nginx/objs/nginx -c "$(PWD)/ngx_http_pow.conf"