From a4d08790a2cbb958714fa3cadac434dcdd0c29ed Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 14 Jan 2021 18:06:57 +0000 Subject: add top-level makefile for testing --- Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..22a9fe1 --- /dev/null +++ b/Makefile @@ -0,0 +1,47 @@ +# 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 + +############ +# 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 + -- cgit v1.2.3