diff options
author | Son Ho | 2022-01-29 19:07:19 +0100 |
---|---|---|
committer | Son Ho | 2022-01-29 19:07:19 +0100 |
commit | 037529ab43deb031bd3796eb47bca28fa97979ba (patch) | |
tree | 2dbf640eaee148ce539c006e46c50288fb7d8a7d | |
parent | 0644f6bd73334467e50429b2cbc59f781e511a17 (diff) |
Update the Makefile
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -17,16 +17,15 @@ build-run: build-run-check-trace: generate-cfim dune build src/main.exe && \ dune exec src/main.exe $(CFIM_TEST_FILE) > tests/trace_current.txt && \ - cmp tests/trace_reference.txt tests/trace_current.txt && \ - rm tests/trace_current.txt + cmp tests/trace_reference.txt tests/trace_current.txt # Build the project and update the trace .PHONY: regen-trace regen-trace: generate-cfim dune build src/main.exe && \ dune exec src/main.exe $(CFIM_TEST_FILE) > tests/trace_current.txt && \ - rm tests/trace_reference.txt && \ - mv tests/trace_current.txt tests/trace_reference.txt + rm -f tests/trace_reference.txt && \ + cp tests/trace_current.txt tests/trace_reference.txt .PHONY: generate-cfim generate-cfim: |