crashtest-r0ket/simulat0r/Makefile

28 lines
574 B
Makefile

all : tui gui
.PHONY : tui gui tui-core clean
tui-core :
$(MAKE) -C firmware
$(MAKE) -C simcore
$(MAKE) -C tui
tui : tui-core
$(MAKE) -C gui/build clean # workaround for buggy dependency of gui build on libapp
.IGNORE : tui
gui : tui gui/build/Makefile
$(MAKE) -C gui/build VERBOSE=1
# bootstrap build directory
gui/build/Makefile : tui-core
install -d gui/build && cd gui/build && cmake ..
clean:
$(MAKE) -C firmware clean
$(MAKE) -C tui clean
$(MAKE) -C simcore clean
$(MAKE) -C gui/build clean # workaround for buggy dependency of gui build on libapp