2016-10-21 12:01:30 +02:00
|
|
|
#
|
|
|
|
# Makefile for software reference implementations of PRNGs.
|
|
|
|
#
|
|
|
|
# This makefile works with GCC under Linux.
|
|
|
|
#
|
|
|
|
|
2016-11-29 09:23:56 +01:00
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
|
|
|
CFLAGS = -std=c11 -Wall -O2
|
|
|
|
CXXFLAGS = -std=c++11 -Wall -O2
|
|
|
|
|
2016-10-21 13:54:42 +02:00
|
|
|
.PHONY: all
|
2020-08-13 16:24:04 +02:00
|
|
|
all: ref_xoshiro128plusplus \
|
|
|
|
ref_xoroshiro128plus \
|
|
|
|
ref_mt19937 \
|
|
|
|
ref_trivium
|
2016-10-21 12:01:30 +02:00
|
|
|
|
2020-08-13 16:24:04 +02:00
|
|
|
ref_xoshiro128plusplus: ref_xoshiro128plusplus.c
|
2020-08-11 18:13:48 +02:00
|
|
|
ref_xoroshiro128plus: ref_xoroshiro128plus.c
|
2016-10-21 12:01:30 +02:00
|
|
|
|
|
|
|
ref_mt19937: ref_mt19937.cpp
|
|
|
|
|
2016-11-23 23:38:51 +01:00
|
|
|
ref_trivium: ref_trivium.cpp
|
|
|
|
|
2016-10-21 12:01:30 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2020-08-13 16:24:04 +02:00
|
|
|
$(RM) ref_xoshiro128plusplus
|
|
|
|
$(RM) ref_xoroshiro128plus
|
|
|
|
$(RM) ref_mt19937
|
|
|
|
$(RM) ref_trivium
|
2016-10-21 12:01:30 +02:00
|
|
|
|