beremiz
Clone
Summary
Browse
Changes
Graph
automatically detect flags supported by matiec and find correct path
2016-05-06, Andrey Skvortsov
da8bf5aa275f
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 $< -> $@"