aboutsummaryrefslogtreecommitdiff
path: root/tools/orangepitest/Makefile
blob: 3638af7a11df1fa28073b98868f99b118148362f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all : orangepitest

SRT:=../..

RAWDRAWS:=$(SRT)/redist/CNFGFunctions.c $(SRT)/redist/CNFGEGLDriver.c $(SRT)/redist/CNFG3D.c $(SRT)/redist/os_generic.c
LIBSURVIVE:=$(SRT)/lib/libsurvive.so

CFLAGS:=-I$(SRT)/redist -I$(SRT)/include -O3 -DFLT=double -DUSE_DOUBLE
LDFLAGS:=-lm -lpthread -lMali -llapacke  -lcblas 

orangepitest : orangepitest.c $(LIBSURVIVE) $(RAWDRAWS)
	gcc $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean :
	rm -rf orangepitest