aboutsummaryrefslogtreecommitdiff
path: root/redist/Makefile
blob: 5598c9b476141d47fd6b780dbedf6f5ca682d14d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all : jsmntest lintest test_dcl

jsmntest : jsmntest.c jsmn.c
	gcc -g -O0 -o $@ $^

lintest : lintest.c linmath.c linmath.h
	gcc -g -O0 -o $@ $^ -lm

minimal_opencvtest : minimal_opencvtest.c minimal_opencv.c minimal_opencv.h
	gcc -g -O0 -o $@ $^  -lcblas -lm -llapacke

test_dcl : test_dcl.c dclhelpers.c minimal_opencv.c ../src/epnp/epnp.c
	gcc -o $@ $^  os_generic.c -DFLT=double -lpthread -lcblas -lm -llapacke -O3 -msse2 -ftree-vectorize 

.run_tests: clean all
	./lintest
	./minimal_opencvtest
	./test_dcl
	./jsmntest

clean :
	rm -rf *.o *~ jsmntest lintest