2 MYINCLUDES
= -I..
/..
/..
/common
-I..
/..
/..
/include -I..
/..
/src
3 MYCFLAGS
= -Wno-cast-align
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