genie.make 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  1. # GNU Make project makefile autogenerated by GENie
  2. .SUFFIXES:
  3. ifndef config
  4. config=release
  5. endif
  6. ifndef verbose
  7. SILENT = @
  8. endif
  9. SHELLTYPE := msdos
  10. ifeq (,$(ComSpec)$(COMSPEC))
  11. SHELLTYPE := posix
  12. endif
  13. ifeq (/bin,$(findstring /bin,$(SHELL)))
  14. SHELLTYPE := posix
  15. endif
  16. ifeq (/bin,$(findstring /bin,$(MAKESHELL)))
  17. SHELLTYPE := posix
  18. endif
  19. ifeq (posix,$(SHELLTYPE))
  20. MKDIR = $(SILENT) mkdir -p "$(1)"
  21. COPY = $(SILENT) cp -fR "$(1)" "$(2)"
  22. RM = $(SILENT) rm -f "$(1)"
  23. else
  24. MKDIR = $(SILENT) mkdir "$(subst /,\\,$(1))" 2> nul || exit 0
  25. COPY = $(SILENT) copy /Y "$(subst /,\\,$(1))" "$(subst /,\\,$(2))"
  26. RM = $(SILENT) del /F "$(subst /,\\,$(1))" 2> nul || exit 0
  27. endif
  28. CC = gcc
  29. CXX = g++
  30. AR = ar
  31. ifndef RESCOMP
  32. ifdef WINDRES
  33. RESCOMP = $(WINDRES)
  34. else
  35. RESCOMP = windres
  36. endif
  37. endif
  38. MAKEFILE = genie.make
  39. ifeq ($(config),release)
  40. OBJDIR = obj/Release
  41. TARGETDIR = ../../bin/darwin
  42. override TARGET = $(TARGETDIR)/genie
  43. DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_MACOSX
  44. INCLUDES += -I"../../src/host/lua-5.3.0/src"
  45. ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
  46. ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -mmacosx-version-min=10.6
  47. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -mmacosx-version-min=10.6
  48. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -mmacosx-version-min=10.6
  49. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -mmacosx-version-min=10.6
  50. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -mmacosx-version-min=10.6
  51. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  52. ALL_LDFLAGS += $(LDFLAGS) -L"." -mmacosx-version-min=10.6
  53. LIBDEPS +=
  54. LDDEPS +=
  55. LDRESP =
  56. LIBS += $(LDDEPS) -framework CoreServices
  57. EXTERNAL_LIBS +=
  58. LINKOBJS = $(OBJECTS)
  59. LINKCMD = $(CC) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
  60. OBJRESP =
  61. OBJECTS := \
  62. $(OBJDIR)/src/host/lua-5.3.0/src/lapi.o \
  63. $(OBJDIR)/src/host/lua-5.3.0/src/lauxlib.o \
  64. $(OBJDIR)/src/host/lua-5.3.0/src/lbaselib.o \
  65. $(OBJDIR)/src/host/lua-5.3.0/src/lbitlib.o \
  66. $(OBJDIR)/src/host/lua-5.3.0/src/lcode.o \
  67. $(OBJDIR)/src/host/lua-5.3.0/src/lcorolib.o \
  68. $(OBJDIR)/src/host/lua-5.3.0/src/lctype.o \
  69. $(OBJDIR)/src/host/lua-5.3.0/src/ldblib.o \
  70. $(OBJDIR)/src/host/lua-5.3.0/src/ldebug.o \
  71. $(OBJDIR)/src/host/lua-5.3.0/src/ldo.o \
  72. $(OBJDIR)/src/host/lua-5.3.0/src/ldump.o \
  73. $(OBJDIR)/src/host/lua-5.3.0/src/lfunc.o \
  74. $(OBJDIR)/src/host/lua-5.3.0/src/lgc.o \
  75. $(OBJDIR)/src/host/lua-5.3.0/src/linit.o \
  76. $(OBJDIR)/src/host/lua-5.3.0/src/liolib.o \
  77. $(OBJDIR)/src/host/lua-5.3.0/src/llex.o \
  78. $(OBJDIR)/src/host/lua-5.3.0/src/lmathlib.o \
  79. $(OBJDIR)/src/host/lua-5.3.0/src/lmem.o \
  80. $(OBJDIR)/src/host/lua-5.3.0/src/loadlib.o \
  81. $(OBJDIR)/src/host/lua-5.3.0/src/lobject.o \
  82. $(OBJDIR)/src/host/lua-5.3.0/src/lopcodes.o \
  83. $(OBJDIR)/src/host/lua-5.3.0/src/loslib.o \
  84. $(OBJDIR)/src/host/lua-5.3.0/src/lparser.o \
  85. $(OBJDIR)/src/host/lua-5.3.0/src/lstate.o \
  86. $(OBJDIR)/src/host/lua-5.3.0/src/lstring.o \
  87. $(OBJDIR)/src/host/lua-5.3.0/src/lstrlib.o \
  88. $(OBJDIR)/src/host/lua-5.3.0/src/ltable.o \
  89. $(OBJDIR)/src/host/lua-5.3.0/src/ltablib.o \
  90. $(OBJDIR)/src/host/lua-5.3.0/src/ltm.o \
  91. $(OBJDIR)/src/host/lua-5.3.0/src/lundump.o \
  92. $(OBJDIR)/src/host/lua-5.3.0/src/lutf8lib.o \
  93. $(OBJDIR)/src/host/lua-5.3.0/src/lvm.o \
  94. $(OBJDIR)/src/host/lua-5.3.0/src/lzio.o \
  95. $(OBJDIR)/src/host/os_chdir.o \
  96. $(OBJDIR)/src/host/os_copyfile.o \
  97. $(OBJDIR)/src/host/os_getcwd.o \
  98. $(OBJDIR)/src/host/os_is64bit.o \
  99. $(OBJDIR)/src/host/os_isdir.o \
  100. $(OBJDIR)/src/host/os_isfile.o \
  101. $(OBJDIR)/src/host/os_match.o \
  102. $(OBJDIR)/src/host/os_mkdir.o \
  103. $(OBJDIR)/src/host/os_pathsearch.o \
  104. $(OBJDIR)/src/host/os_rmdir.o \
  105. $(OBJDIR)/src/host/os_stat.o \
  106. $(OBJDIR)/src/host/os_ticks.o \
  107. $(OBJDIR)/src/host/os_uuid.o \
  108. $(OBJDIR)/src/host/path_getabsolute.o \
  109. $(OBJDIR)/src/host/path_getrelative.o \
  110. $(OBJDIR)/src/host/path_helpers.o \
  111. $(OBJDIR)/src/host/path_isabsolute.o \
  112. $(OBJDIR)/src/host/premake.o \
  113. $(OBJDIR)/src/host/premake_main.o \
  114. $(OBJDIR)/src/host/scripts.o \
  115. $(OBJDIR)/src/host/string_endswith.o \
  116. $(OBJDIR)/src/host/string_hash.o \
  117. define PREBUILDCMDS
  118. endef
  119. define PRELINKCMDS
  120. endef
  121. define POSTBUILDCMDS
  122. endef
  123. endif
  124. ifeq ($(config),debug)
  125. OBJDIR = obj/Debug
  126. TARGETDIR = ../../bin/darwin
  127. override TARGET = $(TARGETDIR)/genie
  128. DEFINES += -D_DEBUG -DLUA_COMPAT_MODULE -DLUA_USE_MACOSX
  129. INCLUDES += -I"../../src/host/lua-5.3.0/src"
  130. ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
  131. ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -mmacosx-version-min=10.6
  132. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -mmacosx-version-min=10.6
  133. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -mmacosx-version-min=10.6
  134. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -mmacosx-version-min=10.6
  135. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -mmacosx-version-min=10.6
  136. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  137. ALL_LDFLAGS += $(LDFLAGS) -L"." -mmacosx-version-min=10.6
  138. LIBDEPS +=
  139. LDDEPS +=
  140. LDRESP =
  141. LIBS += $(LDDEPS) -framework CoreServices
  142. EXTERNAL_LIBS +=
  143. LINKOBJS = $(OBJECTS)
  144. LINKCMD = $(CC) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
  145. OBJRESP =
  146. OBJECTS := \
  147. $(OBJDIR)/src/host/lua-5.3.0/src/lapi.o \
  148. $(OBJDIR)/src/host/lua-5.3.0/src/lauxlib.o \
  149. $(OBJDIR)/src/host/lua-5.3.0/src/lbaselib.o \
  150. $(OBJDIR)/src/host/lua-5.3.0/src/lbitlib.o \
  151. $(OBJDIR)/src/host/lua-5.3.0/src/lcode.o \
  152. $(OBJDIR)/src/host/lua-5.3.0/src/lcorolib.o \
  153. $(OBJDIR)/src/host/lua-5.3.0/src/lctype.o \
  154. $(OBJDIR)/src/host/lua-5.3.0/src/ldblib.o \
  155. $(OBJDIR)/src/host/lua-5.3.0/src/ldebug.o \
  156. $(OBJDIR)/src/host/lua-5.3.0/src/ldo.o \
  157. $(OBJDIR)/src/host/lua-5.3.0/src/ldump.o \
  158. $(OBJDIR)/src/host/lua-5.3.0/src/lfunc.o \
  159. $(OBJDIR)/src/host/lua-5.3.0/src/lgc.o \
  160. $(OBJDIR)/src/host/lua-5.3.0/src/linit.o \
  161. $(OBJDIR)/src/host/lua-5.3.0/src/liolib.o \
  162. $(OBJDIR)/src/host/lua-5.3.0/src/llex.o \
  163. $(OBJDIR)/src/host/lua-5.3.0/src/lmathlib.o \
  164. $(OBJDIR)/src/host/lua-5.3.0/src/lmem.o \
  165. $(OBJDIR)/src/host/lua-5.3.0/src/loadlib.o \
  166. $(OBJDIR)/src/host/lua-5.3.0/src/lobject.o \
  167. $(OBJDIR)/src/host/lua-5.3.0/src/lopcodes.o \
  168. $(OBJDIR)/src/host/lua-5.3.0/src/loslib.o \
  169. $(OBJDIR)/src/host/lua-5.3.0/src/lparser.o \
  170. $(OBJDIR)/src/host/lua-5.3.0/src/lstate.o \
  171. $(OBJDIR)/src/host/lua-5.3.0/src/lstring.o \
  172. $(OBJDIR)/src/host/lua-5.3.0/src/lstrlib.o \
  173. $(OBJDIR)/src/host/lua-5.3.0/src/ltable.o \
  174. $(OBJDIR)/src/host/lua-5.3.0/src/ltablib.o \
  175. $(OBJDIR)/src/host/lua-5.3.0/src/ltm.o \
  176. $(OBJDIR)/src/host/lua-5.3.0/src/lundump.o \
  177. $(OBJDIR)/src/host/lua-5.3.0/src/lutf8lib.o \
  178. $(OBJDIR)/src/host/lua-5.3.0/src/lvm.o \
  179. $(OBJDIR)/src/host/lua-5.3.0/src/lzio.o \
  180. $(OBJDIR)/src/host/os_chdir.o \
  181. $(OBJDIR)/src/host/os_copyfile.o \
  182. $(OBJDIR)/src/host/os_getcwd.o \
  183. $(OBJDIR)/src/host/os_is64bit.o \
  184. $(OBJDIR)/src/host/os_isdir.o \
  185. $(OBJDIR)/src/host/os_isfile.o \
  186. $(OBJDIR)/src/host/os_match.o \
  187. $(OBJDIR)/src/host/os_mkdir.o \
  188. $(OBJDIR)/src/host/os_pathsearch.o \
  189. $(OBJDIR)/src/host/os_rmdir.o \
  190. $(OBJDIR)/src/host/os_stat.o \
  191. $(OBJDIR)/src/host/os_ticks.o \
  192. $(OBJDIR)/src/host/os_uuid.o \
  193. $(OBJDIR)/src/host/path_getabsolute.o \
  194. $(OBJDIR)/src/host/path_getrelative.o \
  195. $(OBJDIR)/src/host/path_helpers.o \
  196. $(OBJDIR)/src/host/path_isabsolute.o \
  197. $(OBJDIR)/src/host/premake.o \
  198. $(OBJDIR)/src/host/premake_main.o \
  199. $(OBJDIR)/src/host/scripts.o \
  200. $(OBJDIR)/src/host/string_endswith.o \
  201. $(OBJDIR)/src/host/string_hash.o \
  202. define PREBUILDCMDS
  203. endef
  204. define PRELINKCMDS
  205. endef
  206. define POSTBUILDCMDS
  207. endef
  208. endif
  209. ifeq ($(config),releaseuniv32)
  210. AR = libtool
  211. OBJDIR = obj/Universal32/Release
  212. TARGETDIR = ../../bin/darwin
  213. override TARGET = $(TARGETDIR)/genie
  214. DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_MACOSX
  215. INCLUDES += -I"../../src/host/lua-5.3.0/src"
  216. ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
  217. ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  218. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  219. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  220. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  221. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  222. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  223. ALL_LDFLAGS += $(LDFLAGS) -L"." -arch i386 -arch ppc -mmacosx-version-min=10.6
  224. LIBDEPS +=
  225. LDDEPS +=
  226. LDRESP =
  227. LIBS += $(LDDEPS) -framework CoreServices
  228. EXTERNAL_LIBS +=
  229. LINKOBJS = $(OBJECTS)
  230. LINKCMD = $(CC) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
  231. OBJRESP =
  232. OBJECTS := \
  233. $(OBJDIR)/src/host/lua-5.3.0/src/lapi.o \
  234. $(OBJDIR)/src/host/lua-5.3.0/src/lauxlib.o \
  235. $(OBJDIR)/src/host/lua-5.3.0/src/lbaselib.o \
  236. $(OBJDIR)/src/host/lua-5.3.0/src/lbitlib.o \
  237. $(OBJDIR)/src/host/lua-5.3.0/src/lcode.o \
  238. $(OBJDIR)/src/host/lua-5.3.0/src/lcorolib.o \
  239. $(OBJDIR)/src/host/lua-5.3.0/src/lctype.o \
  240. $(OBJDIR)/src/host/lua-5.3.0/src/ldblib.o \
  241. $(OBJDIR)/src/host/lua-5.3.0/src/ldebug.o \
  242. $(OBJDIR)/src/host/lua-5.3.0/src/ldo.o \
  243. $(OBJDIR)/src/host/lua-5.3.0/src/ldump.o \
  244. $(OBJDIR)/src/host/lua-5.3.0/src/lfunc.o \
  245. $(OBJDIR)/src/host/lua-5.3.0/src/lgc.o \
  246. $(OBJDIR)/src/host/lua-5.3.0/src/linit.o \
  247. $(OBJDIR)/src/host/lua-5.3.0/src/liolib.o \
  248. $(OBJDIR)/src/host/lua-5.3.0/src/llex.o \
  249. $(OBJDIR)/src/host/lua-5.3.0/src/lmathlib.o \
  250. $(OBJDIR)/src/host/lua-5.3.0/src/lmem.o \
  251. $(OBJDIR)/src/host/lua-5.3.0/src/loadlib.o \
  252. $(OBJDIR)/src/host/lua-5.3.0/src/lobject.o \
  253. $(OBJDIR)/src/host/lua-5.3.0/src/lopcodes.o \
  254. $(OBJDIR)/src/host/lua-5.3.0/src/loslib.o \
  255. $(OBJDIR)/src/host/lua-5.3.0/src/lparser.o \
  256. $(OBJDIR)/src/host/lua-5.3.0/src/lstate.o \
  257. $(OBJDIR)/src/host/lua-5.3.0/src/lstring.o \
  258. $(OBJDIR)/src/host/lua-5.3.0/src/lstrlib.o \
  259. $(OBJDIR)/src/host/lua-5.3.0/src/ltable.o \
  260. $(OBJDIR)/src/host/lua-5.3.0/src/ltablib.o \
  261. $(OBJDIR)/src/host/lua-5.3.0/src/ltm.o \
  262. $(OBJDIR)/src/host/lua-5.3.0/src/lundump.o \
  263. $(OBJDIR)/src/host/lua-5.3.0/src/lutf8lib.o \
  264. $(OBJDIR)/src/host/lua-5.3.0/src/lvm.o \
  265. $(OBJDIR)/src/host/lua-5.3.0/src/lzio.o \
  266. $(OBJDIR)/src/host/os_chdir.o \
  267. $(OBJDIR)/src/host/os_copyfile.o \
  268. $(OBJDIR)/src/host/os_getcwd.o \
  269. $(OBJDIR)/src/host/os_is64bit.o \
  270. $(OBJDIR)/src/host/os_isdir.o \
  271. $(OBJDIR)/src/host/os_isfile.o \
  272. $(OBJDIR)/src/host/os_match.o \
  273. $(OBJDIR)/src/host/os_mkdir.o \
  274. $(OBJDIR)/src/host/os_pathsearch.o \
  275. $(OBJDIR)/src/host/os_rmdir.o \
  276. $(OBJDIR)/src/host/os_stat.o \
  277. $(OBJDIR)/src/host/os_ticks.o \
  278. $(OBJDIR)/src/host/os_uuid.o \
  279. $(OBJDIR)/src/host/path_getabsolute.o \
  280. $(OBJDIR)/src/host/path_getrelative.o \
  281. $(OBJDIR)/src/host/path_helpers.o \
  282. $(OBJDIR)/src/host/path_isabsolute.o \
  283. $(OBJDIR)/src/host/premake.o \
  284. $(OBJDIR)/src/host/premake_main.o \
  285. $(OBJDIR)/src/host/scripts.o \
  286. $(OBJDIR)/src/host/string_endswith.o \
  287. $(OBJDIR)/src/host/string_hash.o \
  288. define PREBUILDCMDS
  289. endef
  290. define PRELINKCMDS
  291. endef
  292. define POSTBUILDCMDS
  293. endef
  294. endif
  295. ifeq ($(config),debuguniv32)
  296. AR = libtool
  297. OBJDIR = obj/Universal32/Debug
  298. TARGETDIR = ../../bin/darwin
  299. override TARGET = $(TARGETDIR)/genie
  300. DEFINES += -D_DEBUG -DLUA_COMPAT_MODULE -DLUA_USE_MACOSX
  301. INCLUDES += -I"../../src/host/lua-5.3.0/src"
  302. ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
  303. ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  304. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  305. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  306. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  307. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -arch i386 -arch ppc -m64 -mmacosx-version-min=10.6
  308. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  309. ALL_LDFLAGS += $(LDFLAGS) -L"." -arch i386 -arch ppc -mmacosx-version-min=10.6
  310. LIBDEPS +=
  311. LDDEPS +=
  312. LDRESP =
  313. LIBS += $(LDDEPS) -framework CoreServices
  314. EXTERNAL_LIBS +=
  315. LINKOBJS = $(OBJECTS)
  316. LINKCMD = $(CC) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
  317. OBJRESP =
  318. OBJECTS := \
  319. $(OBJDIR)/src/host/lua-5.3.0/src/lapi.o \
  320. $(OBJDIR)/src/host/lua-5.3.0/src/lauxlib.o \
  321. $(OBJDIR)/src/host/lua-5.3.0/src/lbaselib.o \
  322. $(OBJDIR)/src/host/lua-5.3.0/src/lbitlib.o \
  323. $(OBJDIR)/src/host/lua-5.3.0/src/lcode.o \
  324. $(OBJDIR)/src/host/lua-5.3.0/src/lcorolib.o \
  325. $(OBJDIR)/src/host/lua-5.3.0/src/lctype.o \
  326. $(OBJDIR)/src/host/lua-5.3.0/src/ldblib.o \
  327. $(OBJDIR)/src/host/lua-5.3.0/src/ldebug.o \
  328. $(OBJDIR)/src/host/lua-5.3.0/src/ldo.o \
  329. $(OBJDIR)/src/host/lua-5.3.0/src/ldump.o \
  330. $(OBJDIR)/src/host/lua-5.3.0/src/lfunc.o \
  331. $(OBJDIR)/src/host/lua-5.3.0/src/lgc.o \
  332. $(OBJDIR)/src/host/lua-5.3.0/src/linit.o \
  333. $(OBJDIR)/src/host/lua-5.3.0/src/liolib.o \
  334. $(OBJDIR)/src/host/lua-5.3.0/src/llex.o \
  335. $(OBJDIR)/src/host/lua-5.3.0/src/lmathlib.o \
  336. $(OBJDIR)/src/host/lua-5.3.0/src/lmem.o \
  337. $(OBJDIR)/src/host/lua-5.3.0/src/loadlib.o \
  338. $(OBJDIR)/src/host/lua-5.3.0/src/lobject.o \
  339. $(OBJDIR)/src/host/lua-5.3.0/src/lopcodes.o \
  340. $(OBJDIR)/src/host/lua-5.3.0/src/loslib.o \
  341. $(OBJDIR)/src/host/lua-5.3.0/src/lparser.o \
  342. $(OBJDIR)/src/host/lua-5.3.0/src/lstate.o \
  343. $(OBJDIR)/src/host/lua-5.3.0/src/lstring.o \
  344. $(OBJDIR)/src/host/lua-5.3.0/src/lstrlib.o \
  345. $(OBJDIR)/src/host/lua-5.3.0/src/ltable.o \
  346. $(OBJDIR)/src/host/lua-5.3.0/src/ltablib.o \
  347. $(OBJDIR)/src/host/lua-5.3.0/src/ltm.o \
  348. $(OBJDIR)/src/host/lua-5.3.0/src/lundump.o \
  349. $(OBJDIR)/src/host/lua-5.3.0/src/lutf8lib.o \
  350. $(OBJDIR)/src/host/lua-5.3.0/src/lvm.o \
  351. $(OBJDIR)/src/host/lua-5.3.0/src/lzio.o \
  352. $(OBJDIR)/src/host/os_chdir.o \
  353. $(OBJDIR)/src/host/os_copyfile.o \
  354. $(OBJDIR)/src/host/os_getcwd.o \
  355. $(OBJDIR)/src/host/os_is64bit.o \
  356. $(OBJDIR)/src/host/os_isdir.o \
  357. $(OBJDIR)/src/host/os_isfile.o \
  358. $(OBJDIR)/src/host/os_match.o \
  359. $(OBJDIR)/src/host/os_mkdir.o \
  360. $(OBJDIR)/src/host/os_pathsearch.o \
  361. $(OBJDIR)/src/host/os_rmdir.o \
  362. $(OBJDIR)/src/host/os_stat.o \
  363. $(OBJDIR)/src/host/os_ticks.o \
  364. $(OBJDIR)/src/host/os_uuid.o \
  365. $(OBJDIR)/src/host/path_getabsolute.o \
  366. $(OBJDIR)/src/host/path_getrelative.o \
  367. $(OBJDIR)/src/host/path_helpers.o \
  368. $(OBJDIR)/src/host/path_isabsolute.o \
  369. $(OBJDIR)/src/host/premake.o \
  370. $(OBJDIR)/src/host/premake_main.o \
  371. $(OBJDIR)/src/host/scripts.o \
  372. $(OBJDIR)/src/host/string_endswith.o \
  373. $(OBJDIR)/src/host/string_hash.o \
  374. define PREBUILDCMDS
  375. endef
  376. define PRELINKCMDS
  377. endef
  378. define POSTBUILDCMDS
  379. endef
  380. endif
  381. OBJDIRS := \
  382. $(OBJDIR) \
  383. $(OBJDIR)/src/host \
  384. $(OBJDIR)/src/host/lua-5.3.0/src \
  385. RESOURCES := \
  386. .PHONY: clean prebuild prelink
  387. all: $(OBJDIRS) $(TARGETDIR) prebuild prelink $(TARGET)
  388. @:
  389. $(TARGET): $(GCH) $(OBJECTS) $(LIBDEPS) $(EXTERNAL_LIBS) $(RESOURCES) $(OBJRESP) $(LDRESP) | $(TARGETDIR) $(OBJDIRS)
  390. @echo Linking genie
  391. $(SILENT) $(LINKCMD)
  392. $(POSTBUILDCMDS)
  393. $(TARGETDIR):
  394. @echo Creating $(TARGETDIR)
  395. -$(call MKDIR,$(TARGETDIR))
  396. $(OBJDIRS):
  397. @echo Creating $(@)
  398. -$(call MKDIR,$@)
  399. clean:
  400. @echo Cleaning genie
  401. ifeq (posix,$(SHELLTYPE))
  402. $(SILENT) rm -f $(TARGET)
  403. $(SILENT) rm -rf $(OBJDIR)
  404. else
  405. $(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
  406. $(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
  407. endif
  408. prebuild:
  409. $(PREBUILDCMDS)
  410. prelink:
  411. $(PRELINKCMDS)
  412. ifneq (,$(PCH))
  413. $(GCH): $(PCH) $(MAKEFILE) | $(OBJDIR)
  414. @echo $(notdir $<)
  415. $(SILENT) $(CC) $(ALL_CFLAGS) -x c-header $(DEFINES) $(INCLUDES) -o "$@" -c "$<"
  416. $(GCH_OBJC): $(PCH) $(MAKEFILE) | $(OBJDIR)
  417. @echo $(notdir $<)
  418. $(SILENT) $(CC) $(ALL_OBJCFLAGS) -x objective-c-header $(DEFINES) $(INCLUDES) -o "$@" -c "$<"
  419. endif
  420. ifneq (,$(OBJRESP))
  421. $(OBJRESP): $(OBJECTS) | $(TARGETDIR) $(OBJDIRS)
  422. $(SILENT) echo $^
  423. $(SILENT) echo $^ > $@
  424. endif
  425. ifneq (,$(LDRESP))
  426. $(LDRESP): $(LDDEPS) | $(TARGETDIR) $(OBJDIRS)
  427. $(SILENT) echo $^
  428. $(SILENT) echo $^ > $@
  429. endif
  430. $(OBJDIR)/src/host/lua-5.3.0/src/lapi.o: ../../src/host/lua-5.3.0/src/lapi.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  431. @echo $(notdir $<)
  432. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  433. $(OBJDIR)/src/host/lua-5.3.0/src/lauxlib.o: ../../src/host/lua-5.3.0/src/lauxlib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  434. @echo $(notdir $<)
  435. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  436. $(OBJDIR)/src/host/lua-5.3.0/src/lbaselib.o: ../../src/host/lua-5.3.0/src/lbaselib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  437. @echo $(notdir $<)
  438. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  439. $(OBJDIR)/src/host/lua-5.3.0/src/lbitlib.o: ../../src/host/lua-5.3.0/src/lbitlib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  440. @echo $(notdir $<)
  441. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  442. $(OBJDIR)/src/host/lua-5.3.0/src/lcode.o: ../../src/host/lua-5.3.0/src/lcode.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  443. @echo $(notdir $<)
  444. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  445. $(OBJDIR)/src/host/lua-5.3.0/src/lcorolib.o: ../../src/host/lua-5.3.0/src/lcorolib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  446. @echo $(notdir $<)
  447. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  448. $(OBJDIR)/src/host/lua-5.3.0/src/lctype.o: ../../src/host/lua-5.3.0/src/lctype.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  449. @echo $(notdir $<)
  450. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  451. $(OBJDIR)/src/host/lua-5.3.0/src/ldblib.o: ../../src/host/lua-5.3.0/src/ldblib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  452. @echo $(notdir $<)
  453. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  454. $(OBJDIR)/src/host/lua-5.3.0/src/ldebug.o: ../../src/host/lua-5.3.0/src/ldebug.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  455. @echo $(notdir $<)
  456. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  457. $(OBJDIR)/src/host/lua-5.3.0/src/ldo.o: ../../src/host/lua-5.3.0/src/ldo.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  458. @echo $(notdir $<)
  459. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  460. $(OBJDIR)/src/host/lua-5.3.0/src/ldump.o: ../../src/host/lua-5.3.0/src/ldump.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  461. @echo $(notdir $<)
  462. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  463. $(OBJDIR)/src/host/lua-5.3.0/src/lfunc.o: ../../src/host/lua-5.3.0/src/lfunc.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  464. @echo $(notdir $<)
  465. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  466. $(OBJDIR)/src/host/lua-5.3.0/src/lgc.o: ../../src/host/lua-5.3.0/src/lgc.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  467. @echo $(notdir $<)
  468. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  469. $(OBJDIR)/src/host/lua-5.3.0/src/linit.o: ../../src/host/lua-5.3.0/src/linit.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  470. @echo $(notdir $<)
  471. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  472. $(OBJDIR)/src/host/lua-5.3.0/src/liolib.o: ../../src/host/lua-5.3.0/src/liolib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  473. @echo $(notdir $<)
  474. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  475. $(OBJDIR)/src/host/lua-5.3.0/src/llex.o: ../../src/host/lua-5.3.0/src/llex.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  476. @echo $(notdir $<)
  477. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  478. $(OBJDIR)/src/host/lua-5.3.0/src/lmathlib.o: ../../src/host/lua-5.3.0/src/lmathlib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  479. @echo $(notdir $<)
  480. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  481. $(OBJDIR)/src/host/lua-5.3.0/src/lmem.o: ../../src/host/lua-5.3.0/src/lmem.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  482. @echo $(notdir $<)
  483. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  484. $(OBJDIR)/src/host/lua-5.3.0/src/loadlib.o: ../../src/host/lua-5.3.0/src/loadlib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  485. @echo $(notdir $<)
  486. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  487. $(OBJDIR)/src/host/lua-5.3.0/src/lobject.o: ../../src/host/lua-5.3.0/src/lobject.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  488. @echo $(notdir $<)
  489. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  490. $(OBJDIR)/src/host/lua-5.3.0/src/lopcodes.o: ../../src/host/lua-5.3.0/src/lopcodes.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  491. @echo $(notdir $<)
  492. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  493. $(OBJDIR)/src/host/lua-5.3.0/src/loslib.o: ../../src/host/lua-5.3.0/src/loslib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  494. @echo $(notdir $<)
  495. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  496. $(OBJDIR)/src/host/lua-5.3.0/src/lparser.o: ../../src/host/lua-5.3.0/src/lparser.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  497. @echo $(notdir $<)
  498. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  499. $(OBJDIR)/src/host/lua-5.3.0/src/lstate.o: ../../src/host/lua-5.3.0/src/lstate.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  500. @echo $(notdir $<)
  501. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  502. $(OBJDIR)/src/host/lua-5.3.0/src/lstring.o: ../../src/host/lua-5.3.0/src/lstring.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  503. @echo $(notdir $<)
  504. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  505. $(OBJDIR)/src/host/lua-5.3.0/src/lstrlib.o: ../../src/host/lua-5.3.0/src/lstrlib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  506. @echo $(notdir $<)
  507. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  508. $(OBJDIR)/src/host/lua-5.3.0/src/ltable.o: ../../src/host/lua-5.3.0/src/ltable.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  509. @echo $(notdir $<)
  510. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  511. $(OBJDIR)/src/host/lua-5.3.0/src/ltablib.o: ../../src/host/lua-5.3.0/src/ltablib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  512. @echo $(notdir $<)
  513. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  514. $(OBJDIR)/src/host/lua-5.3.0/src/ltm.o: ../../src/host/lua-5.3.0/src/ltm.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  515. @echo $(notdir $<)
  516. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  517. $(OBJDIR)/src/host/lua-5.3.0/src/lundump.o: ../../src/host/lua-5.3.0/src/lundump.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  518. @echo $(notdir $<)
  519. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  520. $(OBJDIR)/src/host/lua-5.3.0/src/lutf8lib.o: ../../src/host/lua-5.3.0/src/lutf8lib.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  521. @echo $(notdir $<)
  522. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  523. $(OBJDIR)/src/host/lua-5.3.0/src/lvm.o: ../../src/host/lua-5.3.0/src/lvm.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  524. @echo $(notdir $<)
  525. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  526. $(OBJDIR)/src/host/lua-5.3.0/src/lzio.o: ../../src/host/lua-5.3.0/src/lzio.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host/lua-5.3.0/src
  527. @echo $(notdir $<)
  528. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  529. $(OBJDIR)/src/host/os_chdir.o: ../../src/host/os_chdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  530. @echo $(notdir $<)
  531. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  532. $(OBJDIR)/src/host/os_copyfile.o: ../../src/host/os_copyfile.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  533. @echo $(notdir $<)
  534. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  535. $(OBJDIR)/src/host/os_getcwd.o: ../../src/host/os_getcwd.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  536. @echo $(notdir $<)
  537. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  538. $(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  539. @echo $(notdir $<)
  540. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  541. $(OBJDIR)/src/host/os_isdir.o: ../../src/host/os_isdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  542. @echo $(notdir $<)
  543. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  544. $(OBJDIR)/src/host/os_isfile.o: ../../src/host/os_isfile.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  545. @echo $(notdir $<)
  546. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  547. $(OBJDIR)/src/host/os_match.o: ../../src/host/os_match.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  548. @echo $(notdir $<)
  549. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  550. $(OBJDIR)/src/host/os_mkdir.o: ../../src/host/os_mkdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  551. @echo $(notdir $<)
  552. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  553. $(OBJDIR)/src/host/os_pathsearch.o: ../../src/host/os_pathsearch.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  554. @echo $(notdir $<)
  555. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  556. $(OBJDIR)/src/host/os_rmdir.o: ../../src/host/os_rmdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  557. @echo $(notdir $<)
  558. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  559. $(OBJDIR)/src/host/os_stat.o: ../../src/host/os_stat.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  560. @echo $(notdir $<)
  561. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  562. $(OBJDIR)/src/host/os_ticks.o: ../../src/host/os_ticks.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  563. @echo $(notdir $<)
  564. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  565. $(OBJDIR)/src/host/os_uuid.o: ../../src/host/os_uuid.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  566. @echo $(notdir $<)
  567. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  568. $(OBJDIR)/src/host/path_getabsolute.o: ../../src/host/path_getabsolute.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  569. @echo $(notdir $<)
  570. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  571. $(OBJDIR)/src/host/path_getrelative.o: ../../src/host/path_getrelative.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  572. @echo $(notdir $<)
  573. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  574. $(OBJDIR)/src/host/path_helpers.o: ../../src/host/path_helpers.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  575. @echo $(notdir $<)
  576. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  577. $(OBJDIR)/src/host/path_isabsolute.o: ../../src/host/path_isabsolute.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  578. @echo $(notdir $<)
  579. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  580. $(OBJDIR)/src/host/premake.o: ../../src/host/premake.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  581. @echo $(notdir $<)
  582. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  583. $(OBJDIR)/src/host/premake_main.o: ../../src/host/premake_main.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  584. @echo $(notdir $<)
  585. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  586. $(OBJDIR)/src/host/scripts.o: ../../src/host/scripts.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  587. @echo $(notdir $<)
  588. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  589. $(OBJDIR)/src/host/string_endswith.o: ../../src/host/string_endswith.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  590. @echo $(notdir $<)
  591. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  592. $(OBJDIR)/src/host/string_hash.o: ../../src/host/string_hash.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  593. @echo $(notdir $<)
  594. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  595. -include $(OBJECTS:%.o=%.d)
  596. ifneq (,$(PCH))
  597. -include $(OBJDIR)/$(notdir $(PCH)).d
  598. -include $(OBJDIR)/$(notdir $(PCH))_objc.d
  599. endif