tests/projects/genericmake/project_files/Makefile
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 14 Feb 2023 19:44:25 +0100
branchwxPython4
changeset 3723 58c74d098f09
parent 3416 53c66c4aefa3
permissions -rw-r--r--
More explicit default value for generic makefile target command. Assume Makfile is located in project_files
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 $< -> $@"