diff --git a/rpm/nfcd.spec b/rpm/nfcd.spec index 0a358e1..2203aed 100644 --- a/rpm/nfcd.spec +++ b/rpm/nfcd.spec @@ -46,7 +46,7 @@ This package contains command line NFC tools. %setup -q %build -make LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig +make %{_smp_mflags} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig %install %define target_wants_dir %{_unitdir}/network.target.wants diff --git a/src/Makefile b/src/Makefile index eb2e145..9454107 100644 --- a/src/Makefile +++ b/src/Makefile @@ -146,21 +146,21 @@ debug: $(DEBUG_DEPS) $(DEBUG_EXE) release: $(RELEASE_DEPS) $(RELEASE_EXE) clean: - make -C $(NFC_CORE_DIR) clean - make -C $(NFC_PLUGINS_DIR) clean + $(MAKE) -C $(NFC_CORE_DIR) clean + $(MAKE) -C $(NFC_PLUGINS_DIR) clean rm -fr $(BUILD_DIR) $(SRC_DIR)/*~ nfc_core_debug_lib: - make -C $(NFC_CORE_DIR) debug + $(MAKE) -C $(NFC_CORE_DIR) debug nfc_core_release_lib: - make -C $(NFC_CORE_DIR) release + $(MAKE) -C $(NFC_CORE_DIR) release nfc_plugins_debug_lib: - make -C $(NFC_PLUGINS_DIR) debug + $(MAKE) -C $(NFC_PLUGINS_DIR) debug nfc_plugins_release_lib: - make -C $(NFC_PLUGINS_DIR) release + $(MAKE) -C $(NFC_PLUGINS_DIR) release $(DEBUG_BUILD_DIR): mkdir -p $@ diff --git a/tools/iso-dep/Makefile b/tools/iso-dep/Makefile index 19f7659..98d06d2 100644 --- a/tools/iso-dep/Makefile +++ b/tools/iso-dep/Makefile @@ -115,10 +115,10 @@ clean: rm -fr $(BUILD_DIR) $(SRC_DIR)/*~ nfc_core_debug_lib: - make -C $(NFC_CORE_DIR) debug + $(MAKE) -C $(NFC_CORE_DIR) debug nfc_core_release_lib: - make -C $(NFC_CORE_DIR) release + $(MAKE) -C $(NFC_CORE_DIR) release $(GEN_DIR)/%.c: $(SPEC_DIR)/%.xml gdbus-codegen --generate-c-code $(@:%.c=%) $< diff --git a/tools/ndef-read/Makefile b/tools/ndef-read/Makefile index 1727106..5b84691 100644 --- a/tools/ndef-read/Makefile +++ b/tools/ndef-read/Makefile @@ -138,10 +138,10 @@ clean: rm -fr $(BUILD_DIR) $(SRC_DIR)/*~ nfc_core_debug_lib: - make -C $(NFC_CORE_DIR) debug + $(MAKE) -C $(NFC_CORE_DIR) debug nfc_core_release_lib: - make -C $(NFC_CORE_DIR) release + $(MAKE) -C $(NFC_CORE_DIR) release $(GEN_DIR)/%.c: $(SPEC_DIR)/%.xml gdbus-codegen --generate-c-code $(@:%.c=%) $< diff --git a/tools/ndef-write/Makefile b/tools/ndef-write/Makefile index 1dad4e2..76c728f 100644 --- a/tools/ndef-write/Makefile +++ b/tools/ndef-write/Makefile @@ -139,10 +139,10 @@ clean: rm -fr $(BUILD_DIR) $(SRC_DIR)/*~ nfc_core_debug_lib: - make -C $(NFC_CORE_DIR) debug + $(MAKE) -C $(NFC_CORE_DIR) debug nfc_core_release_lib: - make -C $(NFC_CORE_DIR) release + $(MAKE) -C $(NFC_CORE_DIR) release $(GEN_DIR)/%.c: $(SPEC_DIR)/%.xml gdbus-codegen --generate-c-code $(@:%.c=%) $<