tests/genericmake/project_files/Makefile
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 03 Jul 2018 17:09:11 +0300
changeset 2241 e762e234181d
parent 1542 0535a6b50534
permissions -rw-r--r--
Add information how to make shelve command work with check_source.sh called from hg hook

and added coresponding flag handling in check_source.sh
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 $< -> $@"