diff options
author | Björn Gustavsson <[email protected]> | 2011-09-02 16:23:26 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-09-21 15:00:30 +0200 |
commit | 361aec166c0aa81f2769b9e867e2bdf6ba315b8b (patch) | |
tree | 01d0515161e5842dacf6243ad42d833f99a82ce1 /lib/tools | |
parent | 069b2070ba2ff2b1de479847f0f557a2c61dda58 (diff) | |
download | otp-361aec166c0aa81f2769b9e867e2bdf6ba315b8b.tar.gz otp-361aec166c0aa81f2769b9e867e2bdf6ba315b8b.tar.bz2 otp-361aec166c0aa81f2769b9e867e2bdf6ba315b8b.zip |
tools/c_src/Makefile.in: Support parallel make
Force early creations of directories.
See 8d3a2dfa646ab2ceb41905c673adb15e57bf9cfd for more details.
Diffstat (limited to 'lib/tools')
-rw-r--r-- | lib/tools/c_src/Makefile.in | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in index 65a7f5f424..6921193154 100644 --- a/lib/tools/c_src/Makefile.in +++ b/lib/tools/c_src/Makefile.in @@ -142,7 +142,9 @@ EMEM_OBJS = $(addprefix $(EMEM_OBJ_DIR)/,$(notdir $(EMEM_SRCS:.c=.o))) # Misc targets # -all: $(CREATE_DIRS) erts_lib $(PROGS) $(DRIVERS) +_create_dirs := $(shell mkdir -p $(CREATE_DIRS)) + +all: erts_lib $(PROGS) $(DRIVERS) erts_lib: cd $(ERL_TOP)/erts/lib_src && $(MAKE) $(TYPE) @@ -158,13 +160,6 @@ clean: .PHONY: all erts_lib docs clean # -# Make dir targets -# - -$(CREATE_DIRS): - $(MKDIR) -p $@ - -# # Object targets # |