diff --git a/tools/acrn-manager/Makefile b/tools/acrn-manager/Makefile index c5fe3adb1..43878b554 100644 --- a/tools/acrn-manager/Makefile +++ b/tools/acrn-manager/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: acrnctl.c - gcc -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wall -g + $(CC) -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wall -g clean: rm -f $(OUT_DIR)/acrnctl diff --git a/tools/acrnlog/Makefile b/tools/acrnlog/Makefile index ef088c76a..59aa083c9 100644 --- a/tools/acrnlog/Makefile +++ b/tools/acrnlog/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: - gcc -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread + $(CC) -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread clean: rm $(OUT_DIR)/acrnlog diff --git a/tools/acrntrace/Makefile b/tools/acrntrace/Makefile index 1c02cd4f9..5563a21c6 100644 --- a/tools/acrntrace/Makefile +++ b/tools/acrntrace/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: - gcc -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread + $(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread clean: rm $(OUT_DIR)/acrntrace