From da61ddf6a9c25972b990e5b018191711f12c63aa Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Fri, 9 Mar 2012 17:46:46 -0800 Subject: [PATCH] Makefile: use ${CC} instead of hardcoding gcc --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc75543..efa75ff 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +CC=gcc BIN=libthreads SOURCE=libthreads.c schedule.c HEADERS=libthreads.h schedule.h common.h @@ -6,7 +7,7 @@ FLAGS= all: ${BIN} ${BIN}: ${SOURCE} ${HEADERS} - gcc -o ${BIN} ${SOURCE} ${FLAGS} + ${CC} -o ${BIN} ${SOURCE} ${FLAGS} clean: rm -f ${BIN} *.o -- 2.34.1