From c2dcd6d9ca5a2240fd1b81e3e1a9ce70408ae8fc Mon Sep 17 00:00:00 2001 From: Joris van Rantwijk Date: Fri, 21 Oct 2016 12:01:30 +0200 Subject: [PATCH] Add Makefile for software reference code. --- refimpl/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 refimpl/Makefile diff --git a/refimpl/Makefile b/refimpl/Makefile new file mode 100644 index 0000000..0deed19 --- /dev/null +++ b/refimpl/Makefile @@ -0,0 +1,18 @@ +# +# Makefile for software reference implementations of PRNGs. +# +# This makefile works with GCC under Linux. +# + +all: ref_xoroshiro ref_mt19937 + +ref_xoroshiro: ref_xoroshiro.c + $(CC) -std=c11 -Wall -O2 -o $@ $< + +ref_mt19937: ref_mt19937.cpp + $(CXX) -std=c++11 -Wall -O2 -o $@ $< + +.PHONY: clean +clean: + $(RM) ref_xoroshiro ref_mt19937 +