We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8b209 commit 08681e5Copy full SHA for 08681e5
tests/Makefile
@@ -1,13 +1,13 @@
1
all: nn-test-1 nn-test-2 nn-benchmark
2
3
nn-test-1: nn-test-1.c ../nn.c ../nn.h
4
- $(CC) nn-test-1.c ../nn.c -Wall -W -O2 -o nn-test-1
+ $(CC) nn-test-1.c ../nn.c -Wall -W -O2 -o nn-test-1 -lm
5
6
nn-test-2: nn-test-2.c ../nn.c ../nn.h
7
- $(CC) nn-test-2.c ../nn.c -Wall -W -O2 -o nn-test-2
+ $(CC) nn-test-2.c ../nn.c -Wall -W -O2 -o nn-test-2 -lm
8
9
nn-benchmark: nn-benchmark.c ../nn.c ../nn.h
10
- $(CC) -DUSE_SSE nn-benchmark.c ../nn.c -Wall -W -O3 -o nn-benchmark
+ $(CC) -DUSE_SSE nn-benchmark.c ../nn.c -Wall -W -O3 -o nn-benchmark -lm
11
12
clean:
13
rm -f nn-test-1 nn-test-2 nn-benchmark
0 commit comments