Add Makefile for software reference code.

This commit is contained in:
Joris van Rantwijk 2016-10-21 12:01:30 +02:00
parent f18f76d42e
commit c2dcd6d9ca
1 changed files with 18 additions and 0 deletions

18
refimpl/Makefile Normal file
View File

@ -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