tests/genericmake/project_files/Makefile
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 14 Oct 2016 14:03:38 +0300
changeset 1542 0535a6b50534
parent 1387 435965ca8b63
permissions -rw-r--r--
fix minor issue and do some cleanup work in genericmake example
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 $< -> $@"