2016-10-21 12:01:30 +02:00
|
|
|
#
|
|
|
|
# Makefile for software reference implementations of PRNGs.
|
|
|
|
#
|
|
|
|
# This makefile works with GCC under Linux.
|
|
|
|
#
|
|
|
|
|
2016-10-21 13:54:42 +02:00
|
|
|
.PHONY: all
|
2016-11-23 23:38:51 +01:00
|
|
|
all: ref_xoroshiro ref_mt19937 ref_trivium
|
2016-10-21 12:01:30 +02:00
|
|
|
|
|
|
|
ref_xoroshiro: ref_xoroshiro.c
|
|
|
|
$(CC) -std=c11 -Wall -O2 -o $@ $<
|
|
|
|
|
|
|
|
ref_mt19937: ref_mt19937.cpp
|
|
|
|
$(CXX) -std=c++11 -Wall -O2 -o $@ $<
|
|
|
|
|
2016-11-23 23:38:51 +01:00
|
|
|
ref_trivium: ref_trivium.cpp
|
|
|
|
$(CXX) -std=c++11 -Wall -O2 -o $@ $<
|
|
|
|
|
2016-10-21 12:01:30 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2016-11-23 23:38:51 +01:00
|
|
|
$(RM) ref_xoroshiro ref_mt19937 ref_trivium
|
2016-10-21 12:01:30 +02:00
|
|
|
|