-
Notifications
You must be signed in to change notification settings - Fork 99
/
Makefile
39 lines (32 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# PCG Random Number Generation for C++.
#
# Copyright 2014-2017 Melissa O'Neill <oneill@pcg-random.org>,
# and the PCG Project contributors.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
#
# Licensed under the Apache License, Version 2.0 (provided in
# LICENSE-APACHE.txt and at http://www.apache.org/licenses/LICENSE-2.0)
# or under the MIT license (provided in LICENSE-MIT.txt and at
# http://opensource.org/licenses/MIT), at your option. This file may not
# be copied, modified, or distributed except according to those terms.
#
# Distributed on an "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, either
# express or implied. See your chosen license for details.
#
# For additional information about the PCG random number generation scheme,
# visit http://www.pcg-random.org/.
#
all:
cd test-high; $(MAKE)
cd sample; $(MAKE)
PREFIX = /usr/local
install: all
install -d $(DESTDIR)$(PREFIX)/include
install -m 0644 include/*.hpp $(DESTDIR)$(PREFIX)/include
test: all
cd test-high; $(MAKE) test
clean:
cd test-high; $(MAKE) clean
cd sample; $(MAKE) clean