Skip to content

Commit f43d1ee

Browse files
Martin Belangerigaw
Martin Belanger
authored andcommitted
build: Update meson commands in Makefile
Invoking meson by itself w/o "setup" is considered deprecated. Updated Makefile to use "meson setup". Also replaced "ninja" commands by the corresponding "meson compile" command. Signed-off-by: Martin Belanger <martin.belanger@dell.com>
1 parent 9ffaced commit f43d1ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ NAME := nvme
1010
BUILD-DIR := .build
1111

1212
${BUILD-DIR}:
13-
meson $@
13+
meson setup $@
1414
@echo "Configuration located in: $@"
1515
@echo "-------------------------------------------------------"
1616

1717
.PHONY: ${NAME}
1818
${NAME}: ${BUILD-DIR}
19-
ninja -C ${BUILD-DIR}
19+
meson compile -C ${BUILD-DIR}
2020

2121
.PHONY: clean
2222
clean:
2323
ifneq ("$(wildcard ${BUILD-DIR})","")
24-
ninja -C ${BUILD-DIR} -t $@
24+
meson compile --clean -C ${BUILD-DIR}
2525
endif
2626

2727
.PHONY: purge

0 commit comments

Comments
 (0)