mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 06:52:19 +03:00
2e9c7fb8b5
* Create a separate Makefile for the Idris 2 support libraries. * Update INSTALL.md * satisfy natural language linter * Add to CHANGELOG * Update CHANGELOG.md
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
include ../config.mk
|
|
|
|
.PHONY: build build-c build-refc build-chez
|
|
|
|
build: build-c build-refc build-chez
|
|
|
|
build-c:
|
|
@${MAKE} -C c
|
|
|
|
build-refc:
|
|
@${MAKE} -C refc
|
|
|
|
build-chez:
|
|
@${MAKE} -C chez
|
|
|
|
.PHONY: clean clean-c clean-refc clean-chez
|
|
|
|
clean: clean-c clean-refc clean-chez
|
|
|
|
clean-c:
|
|
@${MAKE} -C c cleandep
|
|
|
|
clean-refc:
|
|
@${MAKE} -C refc cleandep
|
|
|
|
clean-chez:
|
|
@${MAKE} -C chez clean
|
|
|
|
.PHONY: install install-docs install-racket install-gambit install-js install-c install-refc install-chez
|
|
|
|
install: install-docs install-racket install-gambit install-js install-c install-refc install-chez
|
|
|
|
install-docs:
|
|
mkdir -p ${PREFIX}/${NAME_VERSION}/support/docs
|
|
install -m 644 docs/*.css ${PREFIX}/${NAME_VERSION}/support/docs
|
|
|
|
install-racket:
|
|
mkdir -p ${PREFIX}/${NAME_VERSION}/support/racket
|
|
install -m 644 racket/* ${PREFIX}/${NAME_VERSION}/support/racket
|
|
|
|
install-gambit:
|
|
mkdir -p ${PREFIX}/${NAME_VERSION}/support/gambit
|
|
install -m 644 gambit/* ${PREFIX}/${NAME_VERSION}/support/gambit
|
|
|
|
install-js:
|
|
mkdir -p ${PREFIX}/${NAME_VERSION}/support/js
|
|
install -m 644 js/* ${PREFIX}/${NAME_VERSION}/support/js
|
|
|
|
install-c:
|
|
@${MAKE} -C c install
|
|
|
|
install-refc:
|
|
@${MAKE} -C refc install
|
|
|
|
install-chez:
|
|
@${MAKE} -C chez install
|