Skip to content

Commit

Permalink
fix(build): correct test dep filtering in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
exbotanical committed Jul 28, 2024
1 parent 551a820 commit 2ecaf3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ EXAMPLE_TARGET := example
TEST_TARGET := test

SRC := $(wildcard $(SRCDIR)/*.c)
TEST_DEPS := $(wildcard $(DEPSDIR)/tap.c/*.c)
DEPS := $(filter-out $(wildcard $(DEPSDIR)/tap.c/*), $(wildcard $(DEPSDIR)/*/*.c))
TEST_DEPS := $(wildcard $(DEPSDIR)/libtap/*.c)
DEPS := $(filter-out $(wildcard $(DEPSDIR)/libtap/*), $(wildcard $(DEPSDIR)/*/*.c))
OBJ := $(addprefix obj/, $(notdir $(SRC:.c=.o)) $(notdir $(DEPS:.c=.o)))

CFLAGS := -I$(LINCDIR) -I$(DEPSDIR) -Wall -Wextra -Wno-error=incompatible-pointer-types -pedantic -std=c17
Expand Down

0 comments on commit 2ecaf3e

Please sign in to comment.