From e614c3d4318d9839744ad6074ad82fb84490cd5e Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 9 Jun 2021 20:13:21 +0200 Subject: make: use builtin variables --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 08d4494..5c110ec 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CXX := $(PREFIX)g++ CXXFLAGS := -g -O0 -Wall -Wextra -I. lib/libmatcha.a: - make -C lib ARCH=$(ARCH) + $(MAKE) -C lib ARCH=$(ARCH) .PHONY: lib/libmatcha.a %.o: %.cc @@ -66,5 +66,5 @@ docker: docker/Dockerfile .PHONY: docker clean: - make -C lib clean - rm -f example/demo1 example/demo1.o + $(MAKE) -C lib clean + $(RM) example/demo1 example/demo1.o -- cgit v1.2.3