diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-12-09 19:57:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-12-09 19:57:14 +0100 |
commit | 0df3c7f2a05c2a99f2fb2747ae46bd6594052997 (patch) | |
tree | 3d8bae823debe863522f2af17fac9662f887337a /src/Makefile | |
parent | 7089237885218eb8a19805bc2b75481c4efcd6ba (diff) |
patch 8.0.0129v8.0.0129
Problem: Parallel make still doesn't work. (Lewis Muir)
Solution: Define OBJ_MAIN.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index dcd59fc671..d6a5ba439b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1678,12 +1678,14 @@ OBJ_COMMON = \ $(WSDEBUG_OBJ) # The files included by tests are not in OBJ_COMMON. -OBJ = $(OBJ_COMMON) \ +OBJ_MAIN = \ objects/json.o \ objects/main.o \ objects/memfile.o \ objects/message.o +OBJ = $(OBJ_COMMON) $(OBJ_MAIN) + OBJ_JSON_TEST = \ objects/memfile.o \ objects/message.o \ @@ -1705,7 +1707,11 @@ OBJ_MESSAGE_TEST = \ MESSAGE_TEST_OBJ = $(OBJ_COMMON) $(OBJ_MESSAGE_TEST) -ALL_OBJ = $(OBJ_COMMON) $(OBJ_JSON_TEST) $(OBJ_MEMFILE_TEST) $(OBJ_MESSAGE_TEST) +ALL_OBJ = $(OBJ_COMMON) \ + $(OBJ_MAIN) \ + $(OBJ_JSON_TEST) \ + $(OBJ_MEMFILE_TEST) \ + $(OBJ_MESSAGE_TEST) PRO_AUTO = \ @@ -2863,7 +2869,9 @@ auto/gui_gtk_gresources.h: gui_gtk_res.xml $(GUI_GTK_RES_INPUTS) # commands understand putting object files in another directory, it must be # specified for each file separately. -objects objects/.dirstamp: +objects: objects/.dirstamp + +objects/.dirstamp: mkdir -p objects touch objects/.dirstamp |