aboutsummaryrefslogtreecommitdiffstats
path: root/nt/makefile.nt
diff options
context:
space:
mode:
authorGeoff Voelker1995-05-26 05:11:30 +0000
committerGeoff Voelker1995-05-26 05:11:30 +0000
commit9097b6b2fd4dd373602cd2b00bba2dcf3a0b71b9 (patch)
tree6ff605570cf222cfbaa4ebcb61ec2c098297dcd0 /nt/makefile.nt
parent43648015ac347a2dedfbe3638c41d0bcc3410cfe (diff)
downloademacs-9097b6b2fd4dd373602cd2b00bba2dcf3a0b71b9.tar.gz
emacs-9097b6b2fd4dd373602cd2b00bba2dcf3a0b71b9.zip
Commented out.
Expand for-loops. (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
Diffstat (limited to 'nt/makefile.nt')
-rw-r--r--nt/makefile.nt32
1 files changed, 28 insertions, 4 deletions
diff --git a/nt/makefile.nt b/nt/makefile.nt
index 82372fa2989..82d0b24df83 100644
--- a/nt/makefile.nt
+++ b/nt/makefile.nt
@@ -21,19 +21,36 @@
21# 9-6-94 21# 9-6-94
22!include makefile.def 22!include makefile.def
23 23
24SUBDIRS = lib-src src lisp 24# Since Windows 95 does not support multiple commands on one command line
25# (e.g., in for loops), we cannot use for loops any more.
26# SUBDIRS = lib-src src lisp
25 27
26# 28#
27# Build emacs 29# Build emacs
28# 30#
29all:; for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt all 31BUILD_CMD = $(MAKE) -f makefile.nt all
32all:; cd ..\lib-src
33 $(BUILD_CMD)
34 cd ..\src
35 $(BUILD_CMD)
36 cd ..\lisp
37 $(BUILD_CMD)
38 cd ..\nt
39
30 40
31# 41#
32# Build and install emacs in INSTALL_DIR 42# Build and install emacs in INSTALL_DIR
33# 43#
44INSTALL_CMD = $(MAKE) -f makefile.nt install
34install: all 45install: all
35 - mkdir $(INSTALL_DIR) 46 - mkdir $(INSTALL_DIR)
36 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt install 47 cd ..\lib-src
48 $(INSTALL_CMD)
49 cd ..\src
50 $(INSTALL_CMD)
51 cd ..\lisp
52 $(INSTALL_CMD)
53 cd ..\nt
37 - $(CP) emacs.bat $(INSTALL_DIR)\bin 54 - $(CP) emacs.bat $(INSTALL_DIR)\bin
38 - del /q ..\same-dir.tst 55 - del /q ..\same-dir.tst
39 - del /q $(INSTALL_DIR)\same-dir.tst 56 - del /q $(INSTALL_DIR)\same-dir.tst
@@ -77,7 +94,14 @@ real_install:
77# 94#
78# Maintenance 95# Maintenance
79# 96#
97CLEAN_CMD = $(MAKE) -f makefile.nt clean
80clean:; - del /q /s *~ 98clean:; - del /q /s *~
81 - $(DEL_TREE) deleted 99 - $(DEL_TREE) deleted
82 - $(DEL_TREE) ..\bin 100 - $(DEL_TREE) ..\bin
83 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt clean 101 cd ..\lib-src
102 $(CLEAN_CMD)
103 cd ..\src
104 $(CLEAN_CMD)
105 cd ..\lisp
106 $(CLEAN_CMD)
107 cd ..\nt