From 938033796310616d26af58bde735ee96f0129b11 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 6 Nov 2019 18:52:03 -0500 Subject: [PATCH] obsolete makefiles in win/win32 --- win/win32/dgnstuff-mingw32.mak | 93 ------------------------------ win/win32/dgnstuff.mak | 93 ------------------------------ win/win32/levstuff-mingw32.mak | 100 --------------------------------- win/win32/levstuff.mak | 96 ------------------------------- 4 files changed, 382 deletions(-) delete mode 100644 win/win32/dgnstuff-mingw32.mak delete mode 100644 win/win32/dgnstuff.mak delete mode 100644 win/win32/levstuff-mingw32.mak delete mode 100644 win/win32/levstuff.mak diff --git a/win/win32/dgnstuff-mingw32.mak b/win/win32/dgnstuff-mingw32.mak deleted file mode 100644 index d81c95795..000000000 --- a/win/win32/dgnstuff-mingw32.mak +++ /dev/null @@ -1,93 +0,0 @@ -# $NHDT-Date: 1524689255 2018/04/25 20:47:35 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ -# Copyright (c) 2018 by Michael Allison -# NetHack may be freely redistributed. See license for details. - -# Set all of these or none of them. -# -# bison and flex are the ones found in GnuWin32, which -# is probably the easiest set of these tools to find -# on Windows. -# -#YACC = bison.exe -y -#LEX = flex.exe -#YTABC = y.tab.c -#YTABH = y.tab.h -#LEXYYC = lex.yy.c -SHELL=cmd.exe - -default: all - -all: tools ../util/dgn_yacc.c ../util/dgn_lex.c - -rebuild: clean all - -clean: - -del ..\util\dgn_lex.c - -del ..\util\dgn_yacc.c - -del ..\include\dgn_comp.h - -tools: -ifneq "$(YACC)" "" - @echo Yacc-alike set to $(YACC) - @echo YTABC set to $(YTABC) - @echo YTABH set to $(YTABH) -endif - -ifneq "$(LEX)" "" - @echo Lex-alike set to $(LEX) - @echo LEXYYC set to $(LEXYYC) -endif - -#========================================== -# Dungeon Compiler Stuff -#========================================== - -../include/dgn_comp.h : ../util/dgn_comp.y -ifeq "$(YACC)" "" - @echo Using pre-built dgn_comp.h - chdir ..\include - copy /y ..\sys\share\dgn_comp.h - copy /b dgn_comp.h+,, - chdir ..\src -else - chdir ..\util - $(YACC) -d dgn_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\dgn_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\build -endif - -../util/dgn_yacc.c : ../util/dgn_comp.y -ifeq "$(YACC)" "" - @echo Using pre-built dgn_yacc.c - chdir ..\util - copy /y ..\sys\share\dgn_yacc.c - copy /b dgn_yacc.c+,, - chdir ..\src -else - chdir ..\util - $(YACC) -d dgn_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\dgn_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\build -endif - -../util/dgn_lex.c: ../util/dgn_comp.l -ifeq "$(LEX)" "" - @echo Using pre-built dgn_lex.c - chdir ..\util - copy /y ..\sys\share\dgn_lex.c - copy /b dgn_lex.c+,, - chdir ..\src -else - chdir ..\util - $(LEX) dgn_comp.l - copy $(LEXYYC) $@ - @del $(LEXYYC) - chdir ..\build -endif - diff --git a/win/win32/dgnstuff.mak b/win/win32/dgnstuff.mak deleted file mode 100644 index 2339a8a5a..000000000 --- a/win/win32/dgnstuff.mak +++ /dev/null @@ -1,93 +0,0 @@ -# $NHDT-Date: 1524689255 2018/04/25 20:47:35 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ -# Copyright (c) 2018 by Michael Allison -# NetHack may be freely redistributed. See license for details. - -# Set all of these or none of them. -# -# bison and flex are the ones found in GnuWin32, which -# is probably the easiest set of these tools to find -# on Windows. -# -#YACC = bison.exe -y -#LEX = flex.exe -#YTABC = y.tab.c -#YTABH = y.tab.h -#LEXYYC = lex.yy.c - - -default: all - -all: tools ..\util\dgn_yacc.c ..\util\dgn_lex.c - -rebuild: clean all - -clean: - -del ..\util\dgn_lex.c - -del ..\util\dgn_yacc.c - -del ..\include\dgn_comp.h - -tools: -!IFDEF YACC - @echo Yacc-alike set to $(YACC) - @echo YTABC set to $(YTABC) - @echo YTABH set to $(YTABH) -!ENDIF - -!IFDEF LEX - @echo Lex-alike set to $(LEX) - @echo LEXYYC set to $(LEXYYC) -!ENDIF - - -#========================================== -# Dungeon Compiler Stuff -#========================================== - -..\include\dgn_comp.h : ..\util\dgn_comp.y -!IF "$(YACC)"=="" - @echo Using pre-built dgn_comp.h - chdir ..\include - copy /y ..\sys\share\dgn_comp.h - copy /b dgn_comp.h+,, - chdir ..\src -!ELSE - chdir ..\util - $(YACC) -d dgn_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\dgn_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\build -!ENDIF - -..\util\dgn_yacc.c : ..\util\dgn_comp.y -!IF "$(YACC)"=="" - @echo Using pre-built dgn_yacc.c - chdir ..\util - copy /y ..\sys\share\dgn_yacc.c - copy /b dgn_yacc.c+,, - chdir ..\src -!ELSE - chdir ..\util - $(YACC) -d dgn_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\dgn_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\build -!ENDIF - -..\util\dgn_lex.c: ..\util\dgn_comp.l -!IF "$(LEX)"=="" - @echo Using pre-built dgn_lex.c - chdir ..\util - copy /y ..\sys\share\dgn_lex.c - copy /b dgn_lex.c+,, - chdir ..\src -!ELSE - chdir ..\util - $(LEX) dgn_comp.l - copy $(LEXYYC) $@ - @del $(LEXYYC) - chdir ..\build -!ENDIF diff --git a/win/win32/levstuff-mingw32.mak b/win/win32/levstuff-mingw32.mak deleted file mode 100644 index 524755c1f..000000000 --- a/win/win32/levstuff-mingw32.mak +++ /dev/null @@ -1,100 +0,0 @@ -# $NHDT-Date: 1524689255 2018/04/25 20:47:35 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ -# Copyright (c) 2018 by Michael Allison -# NetHack may be freely redistributed. See license for details. - -# Set all of these or none of them. -# -# bison and flex are the ones found in GnuWin32, which -# is probably the easiest set of these tools to find -# on Windows. -# -#YACC = bison.exe -y -#LEX = flex.exe -#YTABC = y.tab.c -#YTABH = y.tab.h -#LEXYYC = lex.yy.c -SHELL = cmd.exe - -default: all - -all: tools ../util/lev_yacc.c ../util/lev_lex.c - -rebuild: clean all - -clean: - -del ..\util\lev_lex.c - -del ..\util\lev_yacc.c - -del ..\include\lev_comp.h - -tools: -ifneq "$(YACC)" "" - @echo Yacc-alike set to "$(YACC)" - @echo YTABC set to $(YTABC) - @echo YTABH set to $(YTABH) -endif - -ifneq "$(LEX)" "" - @echo Lex-alike set to "$(LEX)" - @echo LEXYYC set to $(LEXYYC) -endif - -#========================================== -# Level Compiler Stuff -#========================================== - -../include/lev_comp.h: ../util/lev_comp.y - @echo Yacc-alike set to "$(YACC)" -ifeq "$(YACC)" "" - @echo Using pre-built lev_comp.h - chdir ..\include - copy /y ..\sys\share\lev_comp.h - copy /b lev_comp.h+,, - chdir ..\src -else - @echo Generating lev_yacc.c and lev_comp.h - chdir ..\util - $(YACC) -d lev_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\lev_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\src -endif - -../util/lev_yacc.c: ../util/lev_comp.y - @echo Yacc-alike set to "$(YACC)" -ifeq "$(YACC)" "" - @echo Using pre-built lev_yacc.c - chdir ..\util - copy /y ..\sys\share\lev_yacc.c - copy /b lev_yacc.c+,, - chdir ..\src -else - @echo Generating lev_yacc.c and lev_comp.h - chdir ..\util - $(YACC) -d lev_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\lev_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\src -endif - -../util/lev_lex.c: ../util/lev_comp.l - @echo Lex-alike set to "$(LEX)" -ifeq "$(LEX)" "" - @echo Using pre-built lev_lex.c - chdir ..\util - copy /y ..\sys\share\lev_lex.c - copy /b lev_lex.c+,, - chdir ..\src -else - @echo Generating lev_lex.c - chdir ..\util - $(LEX) lev_comp.l - copy $(LEXYYC) $@ - @del $(LEXYYC) - chdir ..\src -endif - - diff --git a/win/win32/levstuff.mak b/win/win32/levstuff.mak deleted file mode 100644 index 0a38390d1..000000000 --- a/win/win32/levstuff.mak +++ /dev/null @@ -1,96 +0,0 @@ -# $NHDT-Date: 1524689255 2018/04/25 20:47:35 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ -# Copyright (c) 2018 by Michael Allison -# NetHack may be freely redistributed. See license for details. - -# Set all of these or none of them. -# -# bison and flex are the ones found in GnuWin32, which -# is probably the easiest set of these tools to find -# on Windows. -# -#YACC = bison.exe -y -#LEX = flex.exe -#YTABC = y.tab.c -#YTABH = y.tab.h -#LEXYYC = lex.yy.c - - -default: all - -all: tools ..\util\lev_yacc.c ..\util\lev_lex.c - -rebuild: clean all - -clean: - -del ..\util\lev_lex.c - -del ..\util\lev_yacc.c - -del ..\include\lev_comp.h - -tools: -!IFDEF YACC - @echo Yacc-alike set to $(YACC) - @echo YTABC set to $(YTABC) - @echo YTABH set to $(YTABH) -!ENDIF - -!IFDEF LEX - @echo Lex-alike set to $(LEX) - @echo LEXYYC set to $(LEXYYC) -!ENDIF - -#========================================== -# Level Compiler Stuff -#========================================== - -..\include\lev_comp.h: ..\util\lev_comp.y -!IFNDEF YACC - @echo Using pre-built lev_comp.h - chdir ..\include - copy /y ..\sys\share\lev_comp.h - copy /b lev_comp.h+,, - chdir ..\src -!ELSE - @echo Generating lev_yacc.c and lev_comp.h - chdir ..\util - $(YACC) -d lev_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\lev_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\src -!ENDIF - -..\util\lev_yacc.c: ..\util\lev_comp.y -!IFNDEF YACC - @echo Using pre-built lev_yacc.c - chdir ..\util - copy /y ..\sys\share\lev_yacc.c - copy /b lev_yacc.c+,, - chdir ..\src -!ELSE - @echo Generating lev_yacc.c and lev_comp.h - chdir ..\util - $(YACC) -d lev_comp.y - copy $(YTABC) $@ - copy $(YTABH) ..\include\lev_comp.h - @del $(YTABC) - @del $(YTABH) - chdir ..\src -!ENDIF - -..\util\lev_lex.c: ..\util\lev_comp.l -!IFNDEF LEX - @echo Using pre-built lev_lex.c - chdir ..\util - copy /y ..\sys\share\lev_lex.c - copy /b lev_lex.c+,, - chdir ..\src -!ELSE - @echo Generating lev_lex.c - chdir ..\util - $(LEX) lev_comp.l - copy $(LEXYYC) $@ - @del $(LEXYYC) - chdir ..\src -!ENDIF -