projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e0a49
)
Makefile: use ${CC} instead of hardcoding gcc
author
Brian Norris
<banorris@uci.edu>
Sat, 10 Mar 2012 01:46:46 +0000
(17:46 -0800)
committer
Brian Norris
<banorris@uci.edu>
Sat, 10 Mar 2012 01:46:46 +0000
(17:46 -0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index fc75543c3d814547a74ea94f45ea4a4d5a6610e3..efa75ffe21b2cce497b3301428afdf2c25853f70 100644
(file)
--- 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