mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
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.
27 lines
715 B
Plaintext
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
|