Commit 67aa02c1 authored by Marek Vavrusa's avatar Marek Vavrusa

do not rebuild cwrap every test run

parent 5830b417
......@@ -47,16 +47,14 @@ $(SOURCES): depend
@$(preload_syms) python $(abspath ./deckard.py) $< $(DAEMON) $(TEMPLATE) $(CONFIG) $(ADDITIONAL)
# Synchronize submodules
$(libfaketime_DIR)/Makefile:
@git submodule update --init
$(libfaketime_DIR)/Makefile: .gitmodules
@git submodule update --init && mkdir $(libcwrap_cmake_DIR) > /dev/null
$(libfaketime): $(libfaketime_DIR)/Makefile
@CFLAGS="-O0 -g" $(MAKE) -C $(libfaketime_DIR)
$(libcwrap_cmake_DIR): $(libfaketime_DIR)/Makefile
@mkdir $(libcwrap_cmake_DIR)
$(libcwrap_cmake_DIR)/Makefile: $(libcwrap_cmake_DIR)
@CFLAGS="-O0 -g" $(MAKE) -s -C $(libfaketime_DIR)
$(libcwrap_cmake_DIR)/Makefile: $(libfaketime_DIR)/Makefile
@cd $(libcwrap_cmake_DIR); cmake ..
$(libcwrap): $(libcwrap_cmake_DIR)/Makefile
@CFLAGS="-O0 -g" $(MAKE) -C $(libcwrap_cmake_DIR)
@CFLAGS="-O0 -g" $(MAKE) -s -C $(libcwrap_cmake_DIR)
.PHONY: depend all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment