]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/linux
omkbuild.py: Makefile.rules are constructed by replacing include directives in snippets
[omk.git] / snippets / linux
index 09f4ad18506d8ab5cdea4049a061b67c18fcf0d4..4b0d1358966e047bb96d43e7b2c185504d538687 100644 (file)
@@ -411,7 +411,7 @@ $(2)/$(1)$(EXE_SUFFIX): $$($(1)_objs)
        @echo >>$$(dir)/$(1).exe.d
 endef
 
--include $(shell find $(USER_BUILD_DIR) -name '*.omkvar')
+-include $(shell true; find $(USER_BUILD_DIR) -name '*.omkvar') # `true' is a hack for MinGW
 #$(warning $(shared_libs))
 $(foreach lib,$(shared_libs),$(eval $(call solib_link_template,$(lib))))
 $(foreach prg,$(bin_programs),$(eval $(call program_link_template,$(prg),$(USER_BIN_DIR))))
@@ -851,5 +851,5 @@ default: kernel-lib-pass kernel-pass
 endif
 
 # Local Variables:
-# mode:makefile
+# mode:makefile-gmake
 # End: