beremiz
Clone
Summary
Browse
Changes
Graph
Add function example to first_steps example
2018-05-31, Surkov Sergey
ce5bd74ed552
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 $< -> $@"