~ruther/CTU-FEE-B0B35APO-Semestral-project

4368d8a793ee41b2bf4cb85454f7917d20b69f16 — František Boháček 3 years ago d455f91
fix: dependencies for platform switch
1 files changed, 3 insertions(+), 2 deletions(-)

M Makefile
M Makefile => Makefile +3 -2
@@ 24,7 24,7 @@ IMAGE_VIEWER=$(BIN_DIR)/image-viewer
LIB_PHERIPHERALS=$(BIN_DIR)/lib_pheripherals.so
TEXT_VIEWER=$(BIN_DIR)/text-viewer

ifdef ($(COMPUTER))
ifdef COMPUTER
DEPENDENCIES=./.computer
else
DEPENDENCIES=./.arm


@@ 42,7 42,8 @@ $(IMAGE_VIEWER): $(DEPENDENCIES) lib-pheripherals
$(TEXT_VIEWER): $(DEPENDENCIES) lib-pheripherals
	@make -C text-viewer

$(DEPENDENCIES): clean
$(DEPENDENCIES):
	@make clean
	touch $(DEPENDENCIES)

$(LIB_PHERIPHERALS): $(DEPENDENCIES)

Do not follow this link