about summary refs log tree commit diff
path: root/pkgs/development/compilers/ocaml/Makefile.nixpkgs
blob: 2d6457852fc9ad4c6fab0a7005ef5baad805151d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ocaml build system does not allow for parallel building of some
# top-level targets like 'world', 'bootstrap', 'world.opt' as
# then spawn '$(MAKE) all' subprocesses that conflict among each
# other. But we would still like to run each target in parallel
# individually. This file defines such entry points.

# Re-export all existing phases to make 'make install' work as is.
include Makefile

nixpkgs_world:
	$(MAKE) world

nixpkgs_world_bootstrap_world_opt:
	$(MAKE) world
	$(MAKE) bootstrap
	$(MAKE) world.opt