Commit 72e56d50 authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

makefile fix: make failed when run on empty contrib/libfaketime

parent 14979e96
...@@ -32,10 +32,8 @@ $(error missing required socket_wrapper) ...@@ -32,10 +32,8 @@ $(error missing required socket_wrapper)
endif endif
# Synchronize submodules # Synchronize submodules
$(libfaketime_DIR): $(libfaketime_DIR)/Makefile:
@git submodule init @git submodule update --init
$(libfaketime_DIR)/Makefile: $(libfaketime_DIR)
@git submodule update
$(libfaketime): $(libfaketime_DIR)/Makefile $(libfaketime): $(libfaketime_DIR)/Makefile
@CFLAGS="-O2 -g" $(MAKE) -C $(libfaketime_DIR) @CFLAGS="-O2 -g" $(MAKE) -C $(libfaketime_DIR)
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