Skip to content

Commit

Permalink
lib/Makefile: Make sure util is built before testing
Browse files Browse the repository at this point in the history
There's now a binary in testing/ which links against the objects in util/,
so we need to make sure util/ is built first or linking will fail.

Fixes: 669c7b4 ("testing: add test-tool to testing framework with basic load")
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
  • Loading branch information
tohojo committed Feb 17, 2022
1 parent 8c486ba commit 6ad2fae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ SUBDIRS=util testing

all: $(SUBDIRS) libxdp

$(SUBDIRS): libxdp
util: libxdp
@echo; echo " $@"; $(MAKE) -C $@

testing: libxdp util
@echo; echo " $@"; $(MAKE) -C $@

.PHONY: libxdp
Expand Down

0 comments on commit 6ad2fae

Please sign in to comment.