23 lines
437 B
Makefile
23 lines
437 B
Makefile
#
|
|
# Makefile for software reference implementations of PRNGs.
|
|
#
|
|
# This makefile works with GCC under Linux.
|
|
#
|
|
|
|
.PHONY: all
|
|
all: ref_xoroshiro ref_mt19937 ref_trivium
|
|
|
|
ref_xoroshiro: ref_xoroshiro.c
|
|
$(CC) -std=c11 -Wall -O2 -o $@ $<
|
|
|
|
ref_mt19937: ref_mt19937.cpp
|
|
$(CXX) -std=c++11 -Wall -O2 -o $@ $<
|
|
|
|
ref_trivium: ref_trivium.cpp
|
|
$(CXX) -std=c++11 -Wall -O2 -o $@ $<
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) ref_xoroshiro ref_mt19937 ref_trivium
|
|
|