genie.make 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  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/linux
  42. override TARGET = $(TARGETDIR)/genie
  43. DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN
  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 -Wno-implicit-fallthrough
  47. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -Wno-implicit-fallthrough
  48. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -Wno-implicit-fallthrough
  49. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -Wno-implicit-fallthrough
  50. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os -m64 -Wno-implicit-fallthrough
  51. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  52. ALL_LDFLAGS += $(LDFLAGS) -L"." -s -rdynamic
  53. LIBDEPS +=
  54. LDDEPS +=
  55. LDRESP =
  56. LIBS += $(LDDEPS) -ldl -lm
  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/linux
  127. override TARGET = $(TARGETDIR)/genie
  128. DEFINES += -D_DEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN
  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 -Wno-implicit-fallthrough
  132. ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -Wno-implicit-fallthrough
  133. ALL_CXXFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -Wno-implicit-fallthrough
  134. ALL_OBJCFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -Wno-implicit-fallthrough
  135. ALL_OBJCPPFLAGS += $(CXXFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g -m64 -Wno-implicit-fallthrough
  136. ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
  137. ALL_LDFLAGS += $(LDFLAGS) -L"." -rdynamic
  138. LIBDEPS +=
  139. LDDEPS +=
  140. LDRESP =
  141. LIBS += $(LDDEPS) -ldl -lm
  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. OBJDIRS := \
  210. $(OBJDIR) \
  211. $(OBJDIR)/src/host \
  212. $(OBJDIR)/src/host/lua-5.3.0/src \
  213. RESOURCES := \
  214. .PHONY: clean prebuild prelink
  215. all: $(OBJDIRS) $(TARGETDIR) prebuild prelink $(TARGET)
  216. @:
  217. $(TARGET): $(GCH) $(OBJECTS) $(LIBDEPS) $(EXTERNAL_LIBS) $(RESOURCES) $(OBJRESP) $(LDRESP) | $(TARGETDIR) $(OBJDIRS)
  218. @echo Linking genie
  219. $(SILENT) $(LINKCMD)
  220. $(POSTBUILDCMDS)
  221. $(TARGETDIR):
  222. @echo Creating $(TARGETDIR)
  223. -$(call MKDIR,$(TARGETDIR))
  224. $(OBJDIRS):
  225. @echo Creating $(@)
  226. -$(call MKDIR,$@)
  227. clean:
  228. @echo Cleaning genie
  229. ifeq (posix,$(SHELLTYPE))
  230. $(SILENT) rm -f $(TARGET)
  231. $(SILENT) rm -rf $(OBJDIR)
  232. else
  233. $(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
  234. $(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
  235. endif
  236. prebuild:
  237. $(PREBUILDCMDS)
  238. prelink:
  239. $(PRELINKCMDS)
  240. ifneq (,$(PCH))
  241. $(GCH): $(PCH) $(MAKEFILE) | $(OBJDIR)
  242. @echo $(notdir $<)
  243. $(SILENT) $(CC) $(ALL_CFLAGS) -x c-header $(DEFINES) $(INCLUDES) -o "$@" -c "$<"
  244. $(GCH_OBJC): $(PCH) $(MAKEFILE) | $(OBJDIR)
  245. @echo $(notdir $<)
  246. $(SILENT) $(CC) $(ALL_OBJCFLAGS) -x objective-c-header $(DEFINES) $(INCLUDES) -o "$@" -c "$<"
  247. endif
  248. ifneq (,$(OBJRESP))
  249. $(OBJRESP): $(OBJECTS) | $(TARGETDIR) $(OBJDIRS)
  250. $(SILENT) echo $^
  251. $(SILENT) echo $^ > $@
  252. endif
  253. ifneq (,$(LDRESP))
  254. $(LDRESP): $(LDDEPS) | $(TARGETDIR) $(OBJDIRS)
  255. $(SILENT) echo $^
  256. $(SILENT) echo $^ > $@
  257. endif
  258. $(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
  259. @echo $(notdir $<)
  260. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  261. $(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
  262. @echo $(notdir $<)
  263. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  264. $(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
  265. @echo $(notdir $<)
  266. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  267. $(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
  268. @echo $(notdir $<)
  269. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  270. $(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
  271. @echo $(notdir $<)
  272. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  273. $(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
  274. @echo $(notdir $<)
  275. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  276. $(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
  277. @echo $(notdir $<)
  278. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  279. $(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
  280. @echo $(notdir $<)
  281. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  282. $(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
  283. @echo $(notdir $<)
  284. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  285. $(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
  286. @echo $(notdir $<)
  287. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  288. $(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
  289. @echo $(notdir $<)
  290. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  291. $(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
  292. @echo $(notdir $<)
  293. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  294. $(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
  295. @echo $(notdir $<)
  296. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  297. $(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
  298. @echo $(notdir $<)
  299. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  300. $(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
  301. @echo $(notdir $<)
  302. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  303. $(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
  304. @echo $(notdir $<)
  305. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  306. $(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
  307. @echo $(notdir $<)
  308. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  309. $(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
  310. @echo $(notdir $<)
  311. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  312. $(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
  313. @echo $(notdir $<)
  314. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  315. $(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
  316. @echo $(notdir $<)
  317. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  318. $(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
  319. @echo $(notdir $<)
  320. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  321. $(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
  322. @echo $(notdir $<)
  323. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  324. $(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
  325. @echo $(notdir $<)
  326. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  327. $(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
  328. @echo $(notdir $<)
  329. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  330. $(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
  331. @echo $(notdir $<)
  332. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  333. $(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
  334. @echo $(notdir $<)
  335. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  336. $(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
  337. @echo $(notdir $<)
  338. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  339. $(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
  340. @echo $(notdir $<)
  341. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  342. $(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
  343. @echo $(notdir $<)
  344. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  345. $(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
  346. @echo $(notdir $<)
  347. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  348. $(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
  349. @echo $(notdir $<)
  350. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  351. $(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
  352. @echo $(notdir $<)
  353. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  354. $(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
  355. @echo $(notdir $<)
  356. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  357. $(OBJDIR)/src/host/os_chdir.o: ../../src/host/os_chdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  358. @echo $(notdir $<)
  359. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  360. $(OBJDIR)/src/host/os_copyfile.o: ../../src/host/os_copyfile.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  361. @echo $(notdir $<)
  362. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  363. $(OBJDIR)/src/host/os_getcwd.o: ../../src/host/os_getcwd.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  364. @echo $(notdir $<)
  365. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  366. $(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  367. @echo $(notdir $<)
  368. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  369. $(OBJDIR)/src/host/os_isdir.o: ../../src/host/os_isdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  370. @echo $(notdir $<)
  371. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  372. $(OBJDIR)/src/host/os_isfile.o: ../../src/host/os_isfile.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  373. @echo $(notdir $<)
  374. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  375. $(OBJDIR)/src/host/os_match.o: ../../src/host/os_match.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  376. @echo $(notdir $<)
  377. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  378. $(OBJDIR)/src/host/os_mkdir.o: ../../src/host/os_mkdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  379. @echo $(notdir $<)
  380. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  381. $(OBJDIR)/src/host/os_pathsearch.o: ../../src/host/os_pathsearch.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  382. @echo $(notdir $<)
  383. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  384. $(OBJDIR)/src/host/os_rmdir.o: ../../src/host/os_rmdir.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  385. @echo $(notdir $<)
  386. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  387. $(OBJDIR)/src/host/os_stat.o: ../../src/host/os_stat.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  388. @echo $(notdir $<)
  389. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  390. $(OBJDIR)/src/host/os_ticks.o: ../../src/host/os_ticks.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  391. @echo $(notdir $<)
  392. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  393. $(OBJDIR)/src/host/os_uuid.o: ../../src/host/os_uuid.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  394. @echo $(notdir $<)
  395. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  396. $(OBJDIR)/src/host/path_getabsolute.o: ../../src/host/path_getabsolute.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  397. @echo $(notdir $<)
  398. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  399. $(OBJDIR)/src/host/path_getrelative.o: ../../src/host/path_getrelative.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  400. @echo $(notdir $<)
  401. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  402. $(OBJDIR)/src/host/path_helpers.o: ../../src/host/path_helpers.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  403. @echo $(notdir $<)
  404. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  405. $(OBJDIR)/src/host/path_isabsolute.o: ../../src/host/path_isabsolute.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  406. @echo $(notdir $<)
  407. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  408. $(OBJDIR)/src/host/premake.o: ../../src/host/premake.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  409. @echo $(notdir $<)
  410. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  411. $(OBJDIR)/src/host/premake_main.o: ../../src/host/premake_main.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  412. @echo $(notdir $<)
  413. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  414. $(OBJDIR)/src/host/scripts.o: ../../src/host/scripts.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  415. @echo $(notdir $<)
  416. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  417. $(OBJDIR)/src/host/string_endswith.o: ../../src/host/string_endswith.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  418. @echo $(notdir $<)
  419. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  420. $(OBJDIR)/src/host/string_hash.o: ../../src/host/string_hash.c $(GCH) $(MAKEFILE) | $(OBJDIR)/src/host
  421. @echo $(notdir $<)
  422. $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
  423. -include $(OBJECTS:%.o=%.d)
  424. ifneq (,$(PCH))
  425. -include $(OBJDIR)/$(notdir $(PCH)).d
  426. -include $(OBJDIR)/$(notdir $(PCH))_objc.d
  427. endif