Commit adf2e9c2 authored by RILLING Louis's avatar RILLING Louis
Browse files

Unit Tests: Fix missing dependency to rerun tests

parent e699ccc8
......@@ -16,5 +16,5 @@ TARGET_RUN_TESTS := $(patsubst %, $(OUT_DIR)/%, $(RUN_TESTS))
test: $(TARGET_BUILD_TESTS) $(TARGET_RUN_TESTS)
for test in $(TARGET_RUN_TESTS); do $$test || { echo "test $$test failed!"; exit 1; }; done
$(TARGET_BUILD_TESTS) $(TARGET_RUN_TESTS): $(OUT_DIR)/%: %.c $(OUT_DIR)/libfake_vm.a
$(TARGET_BUILD_TESTS) $(TARGET_RUN_TESTS): $(OUT_DIR)/%: %.c ../../capi/src/fake_vm.h $(OUT_DIR)/libfake_vm.a
gcc -Wall -o $@ -I../../capi/src -L$(OUT_DIR) $< -lfake_vm -lpthread -ldl -lrt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment