tests/genericmake/project_files/Makefile
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 06 May 2016 19:14:10 +0300
changeset 1515 da8bf5aa275f
parent 1387 435965ca8b63
child 1542 0535a6b50534
permissions -rw-r--r--
automatically detect flags supported by matiec and find correct path
for matiec C library files

This makes possible to use an old matiec and the new one.
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 $< -> $@"