Minor cleanup of Makefile.

This commit is contained in:
Joris van Rantwijk 2016-11-29 09:23:56 +01:00
parent 317db19e2f
commit e5cbb260cd
1 changed files with 5 additions and 3 deletions

View File

@ -4,17 +4,19 @@
# 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
$(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: