coz/Makefile
2019-08-18 10:31:54 -05:00

25 lines
560 B
Makefile

ROOT := .
DIRS := libcoz viewer
include $(ROOT)/common.mk
bench::
@for dir in benchmarks ; do make -C $$dir $@; done
check::
make -C libcoz $@
update-gh-pages::
$(MAKE) -C viewer
git push origin `git subtree split --prefix viewer master 2> /dev/null`:gh-pages
install::
$(INSTALL) -D coz $(DESTDIR)$(bindir)/coz
$(INSTALL) -D include/coz.h $(DESTDIR)$(incdir)/coz.h
$(RST2MAN) docs/coz.rst $(DESTDIR)$(man1dir)/coz.1
distclean::
@for dir in deps/libelfin ; do \
if [ -d $$dir ] ; then make -C $$dir distclean || make -C $$dir clean; fi; \
done