aboutsummaryrefslogtreecommitdiff
path: root/tools/orangepitest/Makefile
diff options
context:
space:
mode:
authorCharles Lohr <lohr85@gmail.com>2018-03-22 02:15:40 +0000
committerCharles Lohr <lohr85@gmail.com>2018-03-22 02:15:40 +0000
commit7dac5c4184ce3bdc1e42377c675184c9df979180 (patch)
tree53f2fd8ce25bd8d664c6226f9e94758b2df6e2ed /tools/orangepitest/Makefile
parent96d6cb357f7dbe59fdfeba73808d78fc0c0ea435 (diff)
downloadlibsurvive-7dac5c4184ce3bdc1e42377c675184c9df979180.tar.gz
libsurvive-7dac5c4184ce3bdc1e42377c675184c9df979180.tar.bz2
Add orangepitest and fbstream!
Diffstat (limited to 'tools/orangepitest/Makefile')
-rw-r--r--tools/orangepitest/Makefile16
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
+