summaryrefslogtreecommitdiff
path: root/NMakefile.template
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-08-31 17:02:31 +0000
committerPaul Smith <psmith@gnu.org>1999-08-31 17:02:31 +0000
commit185f7c587b2e4d9195064cbfc562505822cf4d82 (patch)
tree2a267a037fb2339f62e8deb21a1eb7cc0acb66e3 /NMakefile.template
parent34459654314051643e0780178aac64f8f9e5f34e (diff)
downloadmake-185f7c587b2e4d9195064cbfc562505822cf4d82.tar.gz
* Large file support for AIX, HP-UX, and IRIX.
* W32 support for Cygnus Cygwin shell (bash).
Diffstat (limited to 'NMakefile.template')
-rw-r--r--NMakefile.template12
1 files changed, 8 insertions, 4 deletions
diff --git a/NMakefile.template b/NMakefile.template
index dae24f56..fb799e09 100644
--- a/NMakefile.template
+++ b/NMakefile.template
@@ -50,8 +50,10 @@ all: config.h subproc Release Debug
#
subproc: w32/subproc/WinDebug/subproc.lib w32/subproc/WinRel/subproc.lib
-w32/subproc/WinDebug/subproc.lib w32/subproc/WinRel/subproc.lib:
+w32/subproc/WinDebug/subproc.lib w32/subproc/WinRel/subproc.lib: w32/subproc/misc.c w32/subproc/sub_proc.c w32/subproc/w32err.c
subproc.bat $(SUBPROC_MAKEFILE) $(MAKE)
+ if exist WinDebug\make.exe erase WinDebug\make.exe
+ if exist WinRel\make.exe erase WinRel\make.exe
config.h: config.h.W32
copy $? $@
@@ -62,9 +64,11 @@ Debug:
$(MAKE) /f $(MAKEFILE) LDFLAGS="$(LDFLAGS_debug)" CFLAGS="$(CFLAGS_debug)" OUTDIR=WinDebug WinDebug/make.exe
clean:
- rmdir /s /q WinDebug WinRel
- rmdir /s /q w32\subproc\WinDebug w32\subproc\WinRel
- erase config.h
+ if exist WinDebug\nul rmdir /s /q WinDebug
+ if exist WinRel\nul rmdir /s /q WinRel
+ if exist w32\subproc\WinDebug\nul rmdir /s /q w32\subproc\WinDebug
+ if exist w32\subproc\WinRel\nul rmdir /s /q w32\subproc\WinRel
+ if exist config.h erase config.h
erase *.pdb
$(OUTDIR):