aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f361c64679bd1ad0695ed70373d8def3c1eb384d (plain)
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
40
41
42
43
44
45
46
47
48
49
50
# Makefile for SyncRNG
#
# Author: G.J.J. van den Burg
# Copyright (c) 2021 G.J.J. van den Burg
# License: See LICENSE file
# Date: 2021-01-14
#

SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
MAKEFLAGS += --no-builtin-rules

PYTHON_DIR=./python
R_DIR=./R

.PHONY: all

all: test

###########
# Testing #
###########

.PHONY: test test_R test_python

test: test_R test_python

test_R:
	$(MAKE) -C $(R_DIR) test

test_python:
	$(MAKE) -C $(PYTHON_DIR) test

test_python_direct:
	$(MAKE) -C $(PYTHON_DIR) test_direct

############
# Clean up #
############

.PHONY: clean clean_R clean_python

clean: clean_R clean_python

clean_R:
	$(MAKE) -C $(R_DIR) clean

clean_python:
	$(MAKE) -C $(PYTHON_DIR) clean