25 lines
406 B
Makefile
25 lines
406 B
Makefile
#
|
|
# Makefile for software reference implementations of PRNGs.
|
|
#
|
|
# This makefile works with GCC under Linux.
|
|
#
|
|
|
|
CC = gcc
|
|
CXX = g++
|
|
CFLAGS = -std=c11 -Wall -O2
|
|
CXXFLAGS = -std=c++11 -Wall -O2
|
|
|
|
.PHONY: all
|
|
all: ref_xoroshiro ref_mt19937 ref_trivium
|
|
|
|
ref_xoroshiro: ref_xoroshiro.c
|
|
|
|
ref_mt19937: ref_mt19937.cpp
|
|
|
|
ref_trivium: ref_trivium.cpp
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) ref_xoroshiro ref_mt19937 ref_trivium
|
|
|