Subversion Repositories Kolibri OS

Rev

Rev 1764 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1764 Rev 1766
Line 5... Line 5...
5
# whether c-- has created .com file or no-extension file.
5
# whether c-- has created .com file or no-extension file.
6
define cmm_meta_rule
6
define cmm_meta_rule
7
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
7
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
8
 $$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
8
 $$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
9
	flock $$(dir $(2)).lock \
9
	flock $$(dir $(2)).lock \
10
	win32-c-- /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
10
	win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
11
	if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
11
	if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
12
	kpack --nologo $$$$f "$$@" && rm $$$$f
12
	kpack --nologo $$$$f "$$@" && rm $$$$f
13
endef
13
endef
Line 14... Line 14...
14
 
14