aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/Makefile.in
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-06-28 08:56:30 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 11:59:10 +0200
commite3282ba372dbfc34b0677c1034a0c4a738ba603a (patch)
tree03f0deb2265f78dee09467d5bddd780a31be8884 /erts/emulator/Makefile.in
parent20f410fea8dee5df649762de163a4e29ad2b3074 (diff)
downloadotp-e3282ba372dbfc34b0677c1034a0c4a738ba603a.tar.gz
otp-e3282ba372dbfc34b0677c1034a0c4a738ba603a.tar.bz2
otp-e3282ba372dbfc34b0677c1034a0c4a738ba603a.zip
erts/emulator/Makefile.in: Support parallel make
Diffstat (limited to 'erts/emulator/Makefile.in')
-rw-r--r--erts/emulator/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index 5ffab257d4..1be2315fa8 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -467,10 +467,11 @@ release_docs_spec:
# Generated source code. Put in $(TARGET) directory
#
+_create_dirs := $(shell mkdir -p $(CREATE_DIRS))
+
.PHONY : generate
-GENERATE= $(CREATE_DIRS) \
- $(TTF_DIR)/beam_opcodes.h \
+GENERATE= $(TTF_DIR)/beam_opcodes.h \
$(TARGET)/erl_bif_table.c \
$(TARGET)/erl_version.h \
$(TTF_DIR)/driver_tab.c \
@@ -851,7 +852,7 @@ $(OBJDIR)/%.o: hipe/%.c
$(BINDIR)/hipe_mkliterals$(TF_MARKER): $(OBJDIR)/hipe_mkliterals.o
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $<
-$(OBJDIR)/hipe_mkliterals.o: $(TTF_DIR)/hipe_x86_asm.h $(TTF_DIR)/hipe_ppc_asm.h
+$(OBJDIR)/hipe_mkliterals.o: $(TTF_DIR)/hipe_x86_asm.h $(TTF_DIR)/hipe_ppc_asm.h $(TTF_DIR)/beam_opcodes.h
$(TTF_DIR)/hipe_literals.h: $(BINDIR)/hipe_mkliterals$(TF_MARKER)
$(BINDIR)/hipe_mkliterals$(TF_MARKER) -c > $@