mirror of
https://github.com/RPCS3/cereal.git
synced 2024-11-27 13:10:43 +00:00
18 lines
449 B
Makefile
18 lines
449 B
Makefile
CPPFLAGS=-std=c++11 -I./include -Wall -Werror
|
|
CC=g++
|
|
|
|
all: unittests sandbox performance
|
|
|
|
sandbox: sandbox.cpp
|
|
${CC} sandbox.cpp -o sandbox ${CPPFLAGS}
|
|
|
|
unittests: unittests.cpp
|
|
time ${CC} unittests.cpp -o unittests -lboost_unit_test_framework ${CPPFLAGS}
|
|
time ./unittests --show_progress
|
|
|
|
performance: performance.cpp
|
|
${CC} performance.cpp -o performance -lboost_serialization ${CPPFLAGS} -O3
|
|
|
|
clean:
|
|
rm sandbox; rm unittests; rm performance;
|