tests/genericmake/project_files/Makefile
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 02 Oct 2017 13:19:06 +0300
changeset 1841 9fd29e8b1393
parent 1542 0535a6b50534
permissions -rw-r--r--
fix pylint warning '(global-variable-not-assigned) Using global for 'X' but no assignment is done'
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 $< -> $@"