renamed 'hf mfdes readdata, writedata' to 'read/write'
[RRG-proxmark3.git] / client / deps / cliparser / Makefile
blob1994992f9b0d5ac9b397991f875d4d4a4cce1151
1 MYSRCPATHS =
2 MYINCLUDES = -I../../../common -I../../../include -I../../src
3 MYCFLAGS = -Wno-cast-align
4 MYDEFS =
5 MYSRCS = \
6 argtable3.c \
7 cliparser.c
9 LIB_A = libcliparser.a
11 include ../../../Makefile.host
13 $(info PLATFORM $(platform))
14 ifneq (,$(findstring MINGW,$(platform)))
15 # Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
16 # and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
17 # FTR __USE_MINGW_ANSI_STDIO seems deprecated in Mingw32
18 # but not Mingw64 https://fr.osdn.net/projects/mingw/lists/archive/users/2019-January/000199.html
19 CFLAGS += -D_ISOC99_SOURCE
20 endif