From 3281da280c24d5cd1ec47b6c683efffd852cd451 Mon Sep 17 00:00:00 2001 From: "Martin J. Levy" Date: Thu, 9 Jul 2020 18:04:13 -0700 Subject: [PATCH] Update Makefile The Makefile has `CFLAGS` and `CXXFLAGS` and they seem to not be in sync or better put, they duplicated functionality. This fix allows anyone to run a make with the following command (should they need a quick build): `make ubxtool CFLAGS=-O0`. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 884c31f..3ed7b5c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS = -O3 -Wall -ggdb -CXXFLAGS:= -std=gnu++17 -Wall -O3 -ggdb -MMD -MP -fno-omit-frame-pointer -Iext/CLI11 \ +CXXFLAGS:= -std=gnu++17 $(CFLAGS) -MMD -MP -fno-omit-frame-pointer -Iext/CLI11 \ -Iext/fmt-6.1.2/include/ -Iext/powerblog/ext/simplesocket -Iext/powerblog/ext/ \ -I/usr/local/opt/openssl/include/ \ -Iext/sgp4/libsgp4/ \