tests/genericmake/project_files/Makefile
author Edouard Tisserant
Thu, 16 Aug 2018 11:22:40 +0200
changeset 2269 2e38b5ec4753
parent 1542 0535a6b50534
permissions -rw-r--r--
Fixed new code-generation code, that was making exception with simple variable-to-variable assignments.
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 $< -> $@"