blob: a9d5e908a768b888f16c01702ab686f998e007d3 [file] [log] [blame]
cat << END >> $NGX_MAKEFILE
$ngx_addon_dir/../build/libnjs.a:
cd $ngx_addon_dir/.. \\
&& if [ -f nxt/Makefile.conf ]; then \$(MAKE) clean; fi \\
&& CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure \\
&& \$(MAKE)
END