Updated Makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -7,13 +7,13 @@ target/test: target/build/tests/test_tensor.o target/build/tests/main.o target/b
|
||||
cc $^ -o target/test
|
||||
|
||||
target/build/tests/main.o: tests/main.c
|
||||
cc -c $? -o $@ -pedantic -Wall -Wextra
|
||||
cc -c $< -o $@ -pedantic -Wall -Wextra
|
||||
|
||||
target/build/tests/test_tensor.o: tests/test_tensor.c
|
||||
cc -c $? -o $@ -pedantic -Wall -Wextra
|
||||
target/build/tests/test_tensor.o: tests/test_tensor.c tests/test_tensor.h
|
||||
cc -c $< -o $@ -pedantic -Wall -Wextra
|
||||
|
||||
target/build/tensor.o: tensor.c
|
||||
cc -c $? -o $@ -pedantic -Wall -Wextra
|
||||
target/build/tensor.o: tensor.c tensor.h
|
||||
cc -c $< -o $@ -pedantic -Wall -Wextra
|
||||
|
||||
init:
|
||||
mkdir -p ./target/build/tests
|
||||
|
||||
Reference in New Issue
Block a user