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`.
pull/126/head
Martin J. Levy 2020-07-09 18:04:13 -07:00 committed by GitHub
parent 85abcd5602
commit 3281da280c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/ \