aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-06-09 20:13:21 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-06-09 20:13:21 +0200
commite614c3d4318d9839744ad6074ad82fb84490cd5e (patch)
tree962065c6d18019a42e31e1f9e43d373e5a401f9a /Makefile
parent860d937c5680a58ac1437a3daba93496ecc3ad78 (diff)
downloadmatcha-threads-e614c3d4318d9839744ad6074ad82fb84490cd5e.tar.gz
matcha-threads-e614c3d4318d9839744ad6074ad82fb84490cd5e.zip
make: use builtin variables
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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