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
commit27255c5b51c25f0256b8432446fca403c92e0a06 (patch)
tree2a267a037fb2339f62e8deb21a1eb7cc0acb66e3 /NMakefile.template
parentb134da55059775759b6e2d1ab8d6425033c3834a (diff)
downloadgunmake-27255c5b51c25f0256b8432446fca403c92e0a06.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 dae24f5..fb799e0 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):