Files
mercury/extras/split_file/Mmakefile
Zoltan Somogyi 35062cab31 Add a new utility, split_file, to the extras.
extras/split_file/split_file.m:
    The new utility, which helps users split a file into two or more pieces.

extras/split_file/Mmakefile:
extras/split_file/README:
    Its Mmakefile and README, as is standard for extras directories.
2020-03-10 02:07:37 +11:00

27 lines
715 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# Copyright (C) 2020 The Mercury team.
# This file is distributed under the terms specified in COPYING.LIB.
#-----------------------------------------------------------------------------#
INSTALL_PREFIX := $(INSTALL_PREFIX)/extras
MLFLAGS = --mercury-libs static
-include ../Mmake.params
.PHONY: default_target
default_target: split_file
.PHONY: install
install:
[ -d $(INSTALL_BINDIR) ] || mkdir -p $(INSTALL_BINDIR)
cp split_file $(INSTALL_BINDIR)
.PHONY: depend
depend: split_file.depend
.PHONY: check
check:
true