tests/genericmake/project_files/Makefile
author Edouard Tisserant
Thu, 19 Apr 2018 13:09:41 +0200
changeset 1996 4ae9c4447947
parent 1542 0535a6b50534
permissions -rw-r--r--
Add safety check to prevent exception when disconnecting while debugging
BEREMIZ_OBJS = $(BEREMIZSRC:.c=.o)

all: warn some_binary
	@echo "*** all done ***"

warn:
	@echo "*** Sample Makefile, does nothing ***"

some_binary: $(BEREMIZ_OBJS)
	@echo "* Would link $^ -> $@"

%.o: %.c
	@echo "* Would compile $< -> $@"