]> code.delx.au - gnu-emacs/commitdiff
($(TRES)): Depend on $(BLD). Use $< instead of $(ALL_DEPS).
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 Dec 2006 23:52:16 +0000 (23:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 20 Dec 2006 23:52:16 +0000 (23:52 +0000)
($(BLD)/addpm.$(O):
$(BLD)/ddeclient.$(O):
$(BLD)/runemacs.$(O):
$(BLD)/cmdproxy.$(O):
$(BLD)/addsection.$(O):
$(BLD)/preprep.$(O)): New dependency on $(BLD).
(all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
(bootstrap-gmake): Depend on addsection.

nt/makefile.w32-in

index 5e8de8bdf6511d07a90d9d1098d5a0a169597723..f751bb7872f992b6f238f3cfe51a122aa2206cf2 100644 (file)
@@ -56,8 +56,8 @@ $(BLD)/preprep.exe: $(BLD)/preprep.$(O)
 # The resource file.  NT 3.10 requires the use of cvtres; even though\r
 # it is not necessary on later versions, it is still ok to use it.\r
 #\r
-$(TRES):       emacs.rc\r
-               $(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS)\r
+$(TRES):       emacs.rc $(BLD)\r
+               $(RC) $(RC_OUT)$(BLD)/emacs.res $<\r
 \r
 runemacs:        $(BLD) $(BLD)/runemacs.exe\r
 $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)\r
@@ -67,12 +67,14 @@ $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
 which-sh:\r
        @echo Using $(THE_SHELL) as shell.\r
 \r
+$(BLD)/addpm.$(O) $(BLD)/ddeclient.$(O) $(BLD)/runemacs.$(O) $(BLD)/cmdproxy.$(O) $(BLD)/addsection.$(O) $(BLD)/preprep.$(O): $(BLD)\r
+\r
 #\r
 # Build emacs\r
 #\r
 all:   which-sh $(BLD) $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE)\r
 \r
-all-other-dirs-nmake:\r
+all-other-dirs-nmake: addsection\r
        cd ..\lib-src\r
        $(MAKE) $(MFLAGS) all\r
        cd ..\src\r
@@ -83,7 +85,7 @@ all-other-dirs-nmake:
        $(MAKE) $(MFLAGS) all\r
        cd ..\nt\r
 \r
-all-other-dirs-gmake:\r
+all-other-dirs-gmake: addsection\r
        $(MAKE) $(MFLAGS) -C ../lib-src all\r
        $(MAKE) $(MFLAGS) -C ../src all\r
        $(MAKE) $(MFLAGS) -C ../lisp all\r
@@ -129,7 +131,7 @@ maybe-bootstrap-SH: doit
 \r
 bootstrap:     addsection bootstrap-$(MAKETYPE) all\r
 \r
-bootstrap-nmake:\r
+bootstrap-nmake: addsection\r
        cd ..\lisp\r
        $(MAKE) $(MFLAGS) bootstrap-clean\r
        cd ..\src\r
@@ -145,7 +147,7 @@ bootstrap-nmake:
        $(MAKE) $(MFLAGS) DOC\r
        cd ..\nt\r
 \r
-bootstrap-gmake:\r
+bootstrap-gmake: addsection\r
        $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean\r
        $(MAKE) $(MFLAGS) -C ../src clean\r
        $(MAKE) $(MFLAGS) -C ../lib-src clean\r