From 7069ee5f9fa697c7e503d91cbec7a8d89f8eca01 Mon Sep 17 00:00:00 2001 From: Rafael Marçalo Date: Thu, 9 Sep 2021 20:09:32 +0000 Subject: OpenBSD Support and Removed Compiler optimizations for now --- Makefile | 10 +++++----- 1 file 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} -- cgit v1.2.3