tests/projects/genericmake/project_files/Makefile
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 20 May 2023 00:36:41 +0200
changeset 3810 eafb8f000584
parent 3416 53c66c4aefa3
permissions -rw-r--r--
Fix wrong default target being picked in CLI build
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 $< -> $@"