tests/genericmake/project_files/Makefile
author Yegor Yefremov <yegorslists@googlemail.com>
Fri, 07 Sep 2018 09:24:52 +0200
branchpy3-fix
changeset 2303 03ea6837a0b4
parent 1542 0535a6b50534
permissions -rw-r--r--
Use Python 3 compatible syntax for exceptions
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 $< -> $@"