mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-12 12:41:49 +08:00
20 lines
634 B
Makefile
20 lines
634 B
Makefile
MYSRCPATHS =
|
|
MYINCLUDES = -I../../../common -I../../../include -I../../src
|
|
MYCFLAGS = -Wno-cast-align
|
|
MYDEFS =
|
|
MYSRCS = \
|
|
argtable3.c \
|
|
cliparser.c
|
|
|
|
LIB_A = libcliparser.a
|
|
|
|
include ../../../Makefile.host
|
|
|
|
$(info PLATFORM $(platform))
|
|
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
|
|
CFLAGS += -D_ISOC99_SOURCE
|
|
endif
|