diff options
Diffstat (limited to 'tools/orangepitest/Makefile')
-rw-r--r-- | tools/orangepitest/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/orangepitest/Makefile b/tools/orangepitest/Makefile new file mode 100644 index 0000000..3638af7 --- /dev/null +++ b/tools/orangepitest/Makefile @@ -0,0 +1,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 + |