summaryrefslogtreecommitdiffhomepage
path: root/auto/make
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-02 13:18:04 +0300
committerMax Romanov <max.romanov@nginx.com>2017-08-02 13:18:04 +0300
commitc93d2c76235ae6823ee59b1072338258897ae2d7 (patch)
tree49f2ff1b32db389464f844a28d751d77f0190675 /auto/make
parentf2e9afdf422c1771d3029416c6284a46c4039781 (diff)
downloadunit-c93d2c76235ae6823ee59b1072338258897ae2d7.tar.gz
unit-c93d2c76235ae6823ee59b1072338258897ae2d7.tar.bz2
Include build/Makefile into main Makefile.
Diffstat (limited to 'auto/make')
-rw-r--r--auto/make15
1 files changed, 7 insertions, 8 deletions
diff --git a/auto/make b/auto/make
index 607f02fb..9739ee4b 100644
--- a/auto/make
+++ b/auto/make
@@ -245,19 +245,18 @@ fi
cat << END > Makefile
-all: $NXT_BIN
+.PHONY: $NXT_BIN lib_test
-libnxt:
- make -f $NXT_MAKEFILE libnxt
+all: $NXT_BIN
-lib_test:
- make -f $NXT_MAKEFILE $NXT_BUILD_DIR/lib_unit_test
- make -f $NXT_MAKEFILE $NXT_BUILD_DIR/utf8_file_name_test
+include $NXT_MAKEFILE
+
+
+lib_test: $NXT_BUILD_DIR/lib_unit_test $NXT_BUILD_DIR/utf8_file_name_test
clean:
rm -rf $NXT_BUILD_DIR *.dSYM Makefile
-$NXT_BIN:
- make -f $NXT_MAKEFILE $NXT_BUILD_DIR/$NXT_BIN
+$NXT_BIN: $NXT_BUILD_DIR/$NXT_BIN
END