From 0ef8e84c082a80354b502b169b6c79fccffa4405 Mon Sep 17 00:00:00 2001 From: Morten Hustveit Date: Tue, 2 Dec 2014 14:22:11 -0500 Subject: Make a headless entry point for benchmarking purposes --- Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e67837f..2e9d900 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,10 @@ -AM_CFLAGS = -Wall -Wextra -pedantic -std=c99 +AM_CFLAGS = -Wall -Wextra -pedantic -std=c99 -flto -bin_PROGRAMS = ray +bin_PROGRAMS = ray ray-headless + +ray_SOURCES = main_glut.c ray.c 3dmath.c 3dmath.h ray_LDFLAGS = -lGL -lGLU -lglut -lm -pthread -ray_SOURCES = ray.c 3dmath.c 3dmath.h +ray_headless_SOURCES = main_headless.c ray.c 3dmath.c 3dmath.h +ray_headless_LDFLAGS = -lm -pthread -- cgit v1.2.3