tests/genericmake/project_files/Makefile
author Edouard Tisserant
Mon, 01 Jun 2020 14:47:31 +0200
changeset 2651 231f8bd2cd7d
parent 1542 0535a6b50534
permissions -rw-r--r--
Runtime: fsync() files when transfering them, to prebent data loss when poweroff soon after programming. Fixed variable naming as a side effect.
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 $< -> $@"