tests/genericmake/project_files/Makefile
author Edouard Tisserant
Wed, 10 Apr 2019 14:11:52 +0200
changeset 2589 d94d4f396bbf
parent 1542 0535a6b50534
permissions -rw-r--r--
Nicer name than 'var_name' for variable auto-renaming in Modbus
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 $< -> $@"