aboutsummaryrefslogtreecommitdiff
path: root/redist/Makefile
blob: 58536c924c6af71d67b473a6170c01fe7da122be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

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
	./test_dcl
	./jsmntest

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