Revert "[Build] Added MAKE_FLAGS variable to Makefile"

This reverts commit c5e9da985a.
This commit is contained in:
Ganesh Gore 2020-12-21 00:05:52 -07:00
parent 061c6ce16d
commit 0eced9fb8a
1 changed files with 3 additions and 4 deletions

View File

@ -5,13 +5,12 @@ CMAKE_COMMAND := cmake
else else
CMAKE_COMMAND := ${CMAKE_COMMAND} CMAKE_COMMAND := ${CMAKE_COMMAND}
endif endif
MAKE_FLAGS :=
.PHONY: all checkout compile .PHONY: all checkout compile
all: checkout all: checkout
mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} .. mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} ..
cd build && $(MAKE) ${MAKE_FLAGS} cd build && $(MAKE)
checkout: checkout:
git submodule init git submodule init
@ -19,7 +18,7 @@ checkout:
compile: compile:
mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} .. mkdir -p build && cd build && $(CMAKE_COMMAND) ${CMAKE_FLAGS} ..
cd build && $(MAKE) ${MAKE_FLAGS} cd build && $(MAKE)
clean: clean:
rm -rf build rm -rf build