mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
27 lines
740 B
Makefile
27 lines
740 B
Makefile
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 2011 The University of Melbourne.
|
|
# Copyright (C) 2015, 2018-2019 The Mercury team.
|
|
# This file is distributed under the terms specified in COPYING.LIB.
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# Build the posix library using mmc --make.
|
|
|
|
TARGET = posix
|
|
MMC = mmc
|
|
|
|
.PHONY: build
|
|
build:
|
|
$(MMC) --make lib$(TARGET)
|
|
|
|
.PHONY: install
|
|
install:
|
|
$(MMC) --make lib$(TARGET).install
|
|
|
|
.PHONY: realclean
|
|
realclean:
|
|
cd samples && $(MAKE) realclean
|
|
$(MMC) --make $(TARGET).realclean
|
|
/bin/rm -rf Mercury
|