tests/projects/genericmake/project_files/Makefile
author Edouard Tisserant <edouard@beremiz.fr>
Tue, 09 Jul 2024 11:44:49 +0200
changeset 3983 466be4f52cb9
parent 3416 53c66c4aefa3
permissions -rw-r--r--
Extensions: add optional arguments to ThirdPartyPath

ThirdPartyPath("name", "path1", "path2") will resolve by default into "../name/path1/path2"
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 $< -> $@"