Skip to content

Commit 13ae38a

Browse files
fixed parallel execution issues in makefile
1 parent 361a2a9 commit 13ae38a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,31 @@ all: configure-liblo configure-libmapper libmapper_arduino
7272
find $(LO_INCLUDE)/lo -name "*.h" -exec cp -prv {} $(OUTPUT_SRC_DIR)/lo/ ";"
7373

7474
.PHONY: configure-liblo
75+
.NOTPARALLEL: configure-liblo
7576
configure-liblo:
7677
ifeq ($(LO_CONFIGURED), TRUE)
7778
@echo liblo: config.h was found
7879
else
79-
@echo Configuring liblo
80+
@echo Configuring liblo...
8081
@cd liblo && ./autogen.sh
8182
endif
8283

8384
.PHONY: configure-libmapper
85+
.NOTPARALLEL: configure-libmapper
8486
configure-libmapper:
8587
ifeq ($(MAPPER_CONFIGURED), TRUE)
8688
@echo libmapper: config.h was found
8789
else
88-
@echo Configuring libmapper
90+
@echo Configuring libmapper...
8991
@cd libmapper && ./autogen.sh
9092
endif
9193

94+
.PHONY: libmapper_arduino
95+
.NOTPARALLEL: libmapper_arduino
9296
libmapper_arduino: $(addprefix $(MAPPER_OBJ_DIR)/,$(MAPPER_OBJ)) $(addprefix $(LO_OBJ_DIR)/,$(LO_OBJ)) $(addprefix $(COMPAT_OBJ_DIR)/,$(COMPAT_OBJ)) $(addprefix $(ZLIB_OBJ_DIR)/,$(ZLIB_OBJ))
9397
@mkdir -p $(OUTPUT_LIB_DIR)
94-
@$(AR) cru $(OUTPUT_LIB_DIR)/libmapper.a $^
9598
@echo Linking $(OUTPUT_LIB_DIR)/libmapper.a
99+
@$(AR) cru $(OUTPUT_LIB_DIR)/libmapper.a $^
96100

97101
.PHONY: install
98102
install:

0 commit comments

Comments
 (0)