tests/genericmake/project_files/Makefile
author Edouard Tisserant
Mon, 12 Feb 2018 11:32:48 +0100
changeset 1927 5def24850a28
parent 1542 0535a6b50534
permissions -rw-r--r--
Factorized some repeated refresh code into a method, to allow customisation.
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 $< -> $@"