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 $< -> $@"