diff --git a/Makefile b/Makefile index bb4e4d680..d8b91a791 100644 --- a/Makefile +++ b/Makefile @@ -5,21 +5,20 @@ CMAKE_COMMAND := cmake else CMAKE_COMMAND := ${CMAKE_COMMAND} endif -MAKE_FLAGS := .PHONY: all checkout compile all: checkout mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} .. - cd build && $(MAKE) ${MAKE_FLAGS} + cd build && $(MAKE) -checkout: +checkout: git submodule init git submodule update --init --recursive compile: mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} .. - cd build && $(MAKE) ${MAKE_FLAGS} + cd build && $(MAKE) clean: rm -rf build