summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-03-26 02:20:43 +0000
committerrafa_99 <raroma09@gmail.com>2022-03-26 02:20:43 +0000
commit64a557747217ad8ab87822f2b4e0f8ec48f29577 (patch)
tree8837d704b5c3252c4a1513f2d3f2151685452ed4 /Makefile
parent425d179be16e2f16595dd0d5c913eefe99884407 (diff)
Added compiler option to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6a2e08e..896daf7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,9 @@
# Source Code
SRC = queryt.c src/utils.c src/video.c libs/curl.c libs/string.c libs/json.c
+# Compiler
+CC = cc
+
# Libraries
LIBS = -lcurl -ljson-c
@@ -15,10 +18,10 @@ CLEAN = queryt queryt_debug
# MakeOPTS
build: clean
- cc -o queryt ${SRC} ${LIBS}
+ ${CC} -o queryt ${SRC} ${LIBS}
debug: clean
- cc -g -o queryt_debug ${SRC} ${LIBS}
+ ${CC} -g -o queryt_debug ${SRC} ${LIBS}
clean:
rm -rf ${CLEAN}