beremiz
Clone
Summary
Browse
Changes
Graph
Changed way to deal with extensions arguments (-e) so that path and filename are stored independently and accessible for extensions themselves.
2018-01-24, Edouard Tisserant
87c908079bc6
Changed way to deal with extensions arguments (-e) so that path and filename are stored independently and accessible for extensions themselves.
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 $< -> $@"