tests/genericmake/project_files/Makefile
author Surkov Sergey <surkovsv93@gmail.com>
Thu, 31 May 2018 13:07:10 +0300
changeset 2170 ce5bd74ed552
parent 1542 0535a6b50534
permissions -rw-r--r--
Add function example to first_steps example

It'll be used in documentation to show how to create function in
Beremiz.
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 $< -> $@"