Update Makefile

Restore the original client makefile
This commit is contained in:
mwalker33 2020-10-05 21:28:20 +11:00 committed by Philippe Teuwen
parent f157fac2fb
commit 3286bdaad2

View file

@ -299,15 +299,6 @@ endif
CXXFLAGS ?= -Wall -Werror -O3
PM3CXXFLAGS = $(CXXFLAGS)
PM3CXXFLAGS += -I../include
ifneq (,$(findstring MINGW,$(platform)))
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
# and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
# FTR __USE_MINGW_ANSI_STDIO seems deprecated in Mingw32
# but not Mingw64 https://fr.osdn.net/projects/mingw/lists/archive/users/2019-January/000199.html
PM3CXXFLAGS += -D_ISOC99_SOURCE
endif
ifeq ($(QT_FOUND),1)
PM3CFLAGS += -DHAVE_GUI