tests/genericmake/project_files/Makefile
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 13 Jan 2017 16:47:46 +0300
changeset 1630 f0030c3cd6ab
parent 1542 0535a6b50534
permissions -rw-r--r--
detect iec2c options and ieclib path only once during the first build
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 $< -> $@"