Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Makefile: Rename test path to avoid target conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Aug 11, 2021
1 parent 9a5620b commit 520e0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BUILD_DIR = build


ifeq ($(MAKECMDGOALS),test)
BUILD_DIR = test
BUILD_DIR = build-test
UNIT_TEST_CFLAGS = -DUNIT_TESTS
endif

Expand All @@ -43,7 +43,7 @@ DEBUG_CFLAGS = -DPRNT
endif

ifeq ($(MAKECMDGOALS),clean-test)
BUILD_DIR = test
BUILD_DIR = build-test
endif

ifeq ($(SANITIZE),yes)
Expand Down

0 comments on commit 520e0ca

Please sign in to comment.