summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: d978213067ada0ca1239720afb1824a99febcaea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AM_CFLAGS = -Wall -pedantic -std=c99 -flto

bin_PROGRAMS = ray ray-headless ray-ppm


ray_SOURCES = main_glut.c ray.c 3dmath.c 3dmath.h
ray_LDADD = -lGL -lGLU -lglut -lm
ray_LDFLAGS = -pthread

ray_headless_SOURCES = main_headless.c ray.c 3dmath.c 3dmath.h
ray_headless_LDADD = -lm
ray_headless_LDFLAGS = -pthread

ray_ppm_SOURCES = main_ppm.c ray.c 3dmath.c 3dmath.h
ray_ppm_LDADD = -lm
ray_ppm_LDFLAGS = -pthread

TESTS = ./test-profile-arcs.sh

.PHONY: test

test: check