summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2021-09-09 20:09:32 +0000
committerRafael Marçalo <raroma09@gmail.com>2021-09-09 20:09:32 +0000
commit7069ee5f9fa697c7e503d91cbec7a8d89f8eca01 (patch)
treed8b4408b716042576d7f07b433f7d17a21ab7871 /Makefile
parent22ab978793e1c9093876b246e9ebdf6c3fa5ac0f (diff)
OpenBSD Support and Removed Compiler optimizations for now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8c81653..6a2e08e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,21 +4,21 @@
# Source Code
SRC = queryt.c src/utils.c src/video.c libs/curl.c libs/string.c libs/json.c
-# Compiler Flags
-FLAGS = -march=native -flto -pipe -faggressive-loop-optimizations
-
# Libraries
LIBS = -lcurl -ljson-c
+## Uncomment for OpenBSD
+# LIBS = -lcurl -ljson-c -I/usr/local/include -L/usr/local/lib
+
# Compiled Code
CLEAN = queryt queryt_debug
# MakeOPTS
build: clean
- cc -o queryt ${FLAGS} ${SRC} ${LIBS}
+ cc -o queryt ${SRC} ${LIBS}
debug: clean
- cc -g -o queryt_debug ${FLAGS} ${SRC} ${LIBS}
+ cc -g -o queryt_debug ${SRC} ${LIBS}
clean:
rm -rf ${CLEAN}