aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcathook <cat.hook31894@gmail.com>2013-12-20 02:24:48 +0800
committercathook <cat.hook31894@gmail.com>2013-12-20 02:24:48 +0800
commitc2abf75ba2dbad130cb17f991e79e94126489f5b (patch)
tree775d84d054b416f0f4a9e7934417bde6a472ddfb
parentc6b53b59190a5a25f453dc8be3525087391e6c97 (diff)
downloadctl-c2abf75ba2dbad130cb17f991e79e94126489f5b.tar.gz
ctl-c2abf75ba2dbad130cb17f991e79e94126489f5b.tar.zst
ctl-c2abf75ba2dbad130cb17f991e79e94126489f5b.zip
add CC to Makefile
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 089cc30..54c2041 100644
--- a/Makefile
+++ b/Makefile
@@ -9,14 +9,16 @@ SRC = $(PWD)/src
EMP = $(PWD)
+CC = gcc
+
################ compiler information: gcc #################
GCC_OPT := -I$(INC) -L$(LIB) -g
AR_OPT := cvr
-EXAMPLE_CC := gcc $(GCC_OPT) -o
+EXAMPLE_CC := $(CC) $(GCC_OPT) -o
-OBJ_CC := gcc $(GCC_OPT) -c -o
+OBJ_CC := $(CC) $(GCC_OPT) -c -o
SLIB_CC := ar $(AR_OPT)
######################## targets ###########################