fix in english makefile for nasm - 2

git-svn-id: svn://kolibrios.org@1758 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-01-20 10:24:51 +00:00
parent a32033d090
commit 28c2223774

View File

@ -321,14 +321,13 @@ File\ Managers/.dir:
# FASM black magic goes to Makefile.fasm. # FASM black magic goes to Makefile.fasm.
include Makefile.fasm include Makefile.fasm
# Rule for copying files is simpler, but similar to previous. # Similar for NASM.
define copy_meta_rule include Makefile.nasm
$(1): $(2) Makefile $$(call respace,$$(addsuffix .dir,$(3)))
cp $$< "$$@"
endef
$(foreach f,$(COPY_FILES),$(eval $(call copy_meta_rule,$(fbinary),$(fsource),$(binarydir))))
# Special rules for copying sysfuncs.txt. # Similar for copying files.
include Makefile.copy
# Special rules for copying sysfuncs.txt - it isn't directly included in the image.
docpak: $(DOCDIR)SYSFUNCS.TXT $(wildcard $(DOCDIR)*) docpak: $(DOCDIR)SYSFUNCS.TXT $(wildcard $(DOCDIR)*)
$(DOCDIR)SYSFUNCS.TXT: $(KERNEL)/docs/sysfuncs.txt $(DOCDIR)SYSFUNCS.TXT: $(KERNEL)/docs/sysfuncs.txt
cp $(KERNEL)/docs/sysfuncs.txt $(DOCDIR)SYSFUNCS.TXT cp $(KERNEL)/docs/sysfuncs.txt $(DOCDIR)SYSFUNCS.TXT