Edouard@1387: BEREMIZ_OBJS = $(BEREMIZSRC:.c=.o)
Edouard@1387: 
Edouard@1387: all: warn some_binary
Edouard@1387: 	@echo "*** all done ***"
Edouard@1387: 
Edouard@1387: warn:
Edouard@1387: 	@echo "*** Sample Makefile, does nothing ***"
Edouard@1387: 
Edouard@1387: some_binary: $(BEREMIZ_OBJS)
Edouard@1387: 	@echo "* Would link $^ -> $@"
Edouard@1387: 
andrej@1542: %.o: %.c
Edouard@1387: 	@echo "* Would compile $< -> $@"