Updated Makefile

This commit is contained in:
2023-05-07 13:29:54 +02:00
parent fa172de1eb
commit 5a86badd43

View File

@@ -7,13 +7,13 @@ target/test: target/build/tests/test_tensor.o target/build/tests/main.o target/b
cc $^ -o target/test cc $^ -o target/test
target/build/tests/main.o: tests/main.c 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 target/build/tests/test_tensor.o: tests/test_tensor.c tests/test_tensor.h
cc -c $? -o $@ -pedantic -Wall -Wextra cc -c $< -o $@ -pedantic -Wall -Wextra
target/build/tensor.o: tensor.c target/build/tensor.o: tensor.c tensor.h
cc -c $? -o $@ -pedantic -Wall -Wextra cc -c $< -o $@ -pedantic -Wall -Wextra
init: init:
mkdir -p ./target/build/tests mkdir -p ./target/build/tests