From 4a879b8e85405d5366dd561ad8d35e4e34be38b4 Mon Sep 17 00:00:00 2001 From: Porya Date: Mon, 3 Apr 2023 17:52:46 -0700 Subject: [PATCH] Update Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3994633..7fe5ffa 100644 --- a/Makefile +++ b/Makefile @@ -17,13 +17,13 @@ t/test% : t/test%.cpp all : EasySandbox.so tests EasySandbox.so : EasySandbox.o malloc.o - gcc -shared -o EasySandbox.so EasySandbox.o malloc.o -ldl + $(CC) -shared -o EasySandbox.so EasySandbox.o malloc.o -ldl EasySandbox.o : EasySandbox.c - gcc -c $(SHLIB_CFLAGS) EasySandbox.c + $(CC) -c $(SHLIB_CFLAGS) EasySandbox.c malloc.o : malloc.c - gcc -c $(SHLIB_CFLAGS) malloc.c + $(CC) -c $(SHLIB_CFLAGS) malloc.c tests : $(TEST_EXES)