glide3x, h5: remove gendate.h dependency.

BUILD_DATE is not used anywhare, at all.
This commit is contained in:
sezero
2018-08-30 16:01:55 +03:00
parent e2dd1b0ba0
commit a7b3d9290c
6 changed files with 10 additions and 51 deletions

View File

@@ -39,7 +39,7 @@
#
.PHONY: all glide3x clean realclean
.INTERMEDIATE: fxgasm.exe gendate.exe fxbldno.exe
.INTERMEDIATE: fxgasm.exe fxbldno.exe
###############################################################################
# general defines (user settable?)
@@ -300,11 +300,9 @@ $(GLIDE_OBJECTS): fxinline.h fxgasm.h fxbldno.h
ifneq ($(COMSPEC),)
RUN_FXGASM=fxgasm.exe
RUN_FXBLDNO=fxbldno.exe
RUN_GENDATE=gendate.exe
else
RUN_FXGASM=./fxgasm.exe
RUN_FXBLDNO=./fxbldno.exe
RUN_GENDATE=./gendate.exe
endif
fxinline.h: fxgasm.exe
@@ -313,18 +311,12 @@ fxinline.h: fxgasm.exe
fxgasm.h: fxgasm.exe
$(RUN_FXGASM) -hex > $@
fxgasm.exe: fxgasm.c ../../incsrc/gendate.h
fxgasm.exe: fxgasm.c
$(HOST_CC) -o $@ $(HOST_CFLAGS) $<
../../incsrc/gendate.h: gendate.exe
$(RUN_GENDATE) > $@
fxbldno.h: fxbldno.exe
$(RUN_FXBLDNO) > $@
gendate.exe: ../../incsrc/gendate.c
$(HOST_CC) -o $@ $<
fxbldno.exe: fxbldno.c
$(HOST_CC) -o $@ $<
@@ -339,7 +331,6 @@ clean:
-$(call UNLINK,$(FX_GLIDE_SW)/newpci/pcilib/*.o)
-$(call UNLINK,fxinline.h)
-$(call UNLINK,fxgasm.h)
-$(call UNLINK,../../incsrc/gendate.h)
-$(call UNLINK,fxbldno.h)
-$(call UNLINK,$(FX_GLIDE_SW)/texus2/lib/*.o)

View File

@@ -44,7 +44,7 @@
#
.PHONY: all glide3x clean realclean
.INTERMEDIATE: fxgasm gendate fxbldno
.INTERMEDIATE: fxgasm fxbldno
.SUFFIXES: .lo
export PATH := $(PATH):.
@@ -363,18 +363,12 @@ fxinline.h: fxgasm
fxgasm.h: fxgasm
$< -hex > $@
fxgasm: fxgasm.c ../../incsrc/gendate.h
fxgasm: fxgasm.c
$(CC) -o $@ $(CFLAGS) $<
../../incsrc/gendate.h: gendate
$< > $@
fxbldno.h: fxbldno
$< > $@
gendate: ../../incsrc/gendate.c
$(CC) -o $@ $(CFLAGS) $<
fxbldno: fxbldno.c
$(CC) -o $@ $(CFLAGS) $<
@@ -390,7 +384,6 @@ clean:
-$(RM) $(FX_GLIDE_SW)/fxmisc/*.o $(FX_GLIDE_SW)/fxmisc/*.lo
-$(RM) fxinline.h
-$(RM) fxgasm.h
-$(RM) ../../incsrc/gendate.h
-$(RM) fxbldno.h
-$(RM) $(FX_GLIDE_SW)/texus2/lib/*.o $(FX_GLIDE_SW)/texus2/lib/*.lo

View File

@@ -39,7 +39,7 @@
#
.PHONY: all glide3x clean realclean
.INTERMEDIATE: fxgasm.exe gendate.exe fxbldno.exe
.INTERMEDIATE: fxgasm.exe fxbldno.exe
.SUFFIXES: .c .obj .rc .res
###############################################################################
@@ -345,18 +345,12 @@ fxinline.h: fxgasm.exe
fxgasm.h: fxgasm.exe
./$< -hex > $@
fxgasm.exe: fxgasm.c ../../incsrc/gendate.h
fxgasm.exe: fxgasm.c
$(HOST_CC) -o $@ $(HOST_CFLAGS) $<
../../incsrc/gendate.h: gendate.exe
./$< > $@
fxbldno.h: fxbldno.exe
./$< > $@
gendate.exe: ../../incsrc/gendate.c
$(HOST_CC) -o $@ $<
fxbldno.exe: fxbldno.c
$(HOST_CC) -o $@ $<
@@ -369,7 +363,6 @@ clean:
-$(call UNLINK,../../minihwc/*.o)
-$(call UNLINK,fxinline.h)
-$(call UNLINK,fxgasm.h)
-$(call UNLINK,../../incsrc/gendate.h)
-$(call UNLINK,fxbldno.h)
-$(call UNLINK,$(FX_GLIDE_SW)/texus2/lib/*.o)
-$(call UNLINK,$(GLIDE_RES))

View File

@@ -39,7 +39,7 @@
#
.PHONY: all glide3x clean realclean
.INTERMEDIATE: fxgasm.exe gendate.exe fxbldno.exe wlib.lbc
.INTERMEDIATE: fxgasm.exe fxbldno.exe wlib.lbc
.SUFFIXES: .c .obj
###############################################################################
@@ -299,18 +299,12 @@ fxinline.h: fxgasm.exe
fxgasm.h: fxgasm.exe
$< -hex > $@
fxgasm.exe: fxgasm.c ..\..\incsrc\gendate.h
fxgasm.exe: fxgasm.c
$(CC) -fe=$@ $<
..\..\incsrc\gendate.h: gendate.exe
$< > $@
fxbldno.h: fxbldno.exe
$< > $@
gendate.exe: ..\..\incsrc\gendate.c
$(CC) -fe=$@ $<
fxbldno.exe: fxbldno.c
$(CC) -fe=$@ $<
@@ -328,7 +322,6 @@ clean:
-$(call UNLINK,$(FX_GLIDE_SW)/newpci/pcilib/*.obj)
-$(call UNLINK,fxinline.h)
-$(call UNLINK,fxgasm.h)
-$(call UNLINK,../../incsrc/gendate.h)
-$(call UNLINK,fxbldno.h)
-$(call UNLINK,$(FX_GLIDE_SW)/texus2/lib/*.obj)
-$(call UNLINK,*.err)

View File

@@ -39,7 +39,7 @@
#
.PHONY: all glide3x clean realclean
.INTERMEDIATE: fxgasm.exe gendate.exe fxbldno.exe
.INTERMEDIATE: fxgasm.exe fxbldno.exe
.SUFFIXES: .c .obj .rc .res
###############################################################################
@@ -313,18 +313,12 @@ fxinline.h: fxgasm.exe
fxgasm.h: fxgasm.exe
.\$< -hex > $@
fxgasm.exe: fxgasm.c ../../incsrc/gendate.h
fxgasm.exe: fxgasm.c
$(CC) -o $@ $(CFLAGS) $<
../../incsrc/gendate.h: gendate.exe
.\$< > $@
fxbldno.h: fxbldno.exe
.\$< > $@
gendate.exe: ../../incsrc/gendate.c
$(CC) -o $@ $(CFLAGS) $<
fxbldno.exe: fxbldno.c
$(CC) -o $@ $(CFLAGS) $<
@@ -337,7 +331,6 @@ clean:
-$(call UNLINK,../../minihwc/*.obj)
-$(call UNLINK,fxinline.h)
-$(call UNLINK,fxgasm.h)
-$(call UNLINK,../../incsrc/gendate.h)
-$(call UNLINK,fxbldno.h)
-$(call UNLINK,$(FX_GLIDE_SW)/texus2/lib/*.obj)
-$(call UNLINK,$(GLIDE_RES))

View File

@@ -21,10 +21,6 @@
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
*/
#ifndef WINSIM
#include "gendate.h"
#endif // WINSIM
#ifdef SST2
#define MAX_NUM_TMUS 4
#elif defined(H4)