added rules for sbench
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Win32 Makefile for 3dfx Glide3x test files
|
# Win32 Makefile for 3dfx Glide3x test files
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003 - Hiroshi Morii
|
# Copyright (c) 2003 - Hiroshi Morii
|
||||||
# Email: koolsmoky@3dfxzone.it
|
# Email: koolsmoky@users.sourceforge.net
|
||||||
# URL : http://www.3dfxzone.it/koolsmoky
|
# URL : http://www.3dfxzone.it/koolsmoky
|
||||||
#
|
#
|
||||||
# Build test files : nmake -f Makefile.win32
|
# Build test files : nmake -f Makefile.win32
|
||||||
# Remove objects : nmake -f Makefile.win32 clean
|
# Remove objects : nmake -f Makefile.win32 clean
|
||||||
# Remove files in bin, lib : nmake -f Makefile.win32 clobber
|
# Remove excutables : nmake -f Makefile.win32 clobber
|
||||||
# Remove all generated files : nmake -f Makefile.win32 realclean
|
# Remove all generated files : nmake -f Makefile.win32 realclean
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ FLAGS = $(FLAGS) -DFX_GLIDE_NAPALM=1 -DH4=1 -DFX_GLIDE_H5_CSIM=1
|
|||||||
CC = cl
|
CC = cl
|
||||||
LINK = link
|
LINK = link
|
||||||
|
|
||||||
CFLAGS = -Ox -G6 -W3 -WX -c -D__WIN32__ -DSTRICT
|
CFLAGS = -Ox -G6 -W3 -WX -c -D__MSC__=1 -D_X86_=1 -DNULL=0 -D_WIN32=1 -DWIN32=1 -D__WIN32__=1 -DSTRICT
|
||||||
LFLAGS = -nologo /SUBSYSTEM:CONSOLE /OPT:WIN98 /MACHINE:IX86
|
LFLAGS = -nologo /SUBSYSTEM:CONSOLE /OPT:WIN98 /MACHINE:IX86
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -45,60 +45,61 @@ MV = mv
|
|||||||
#################################
|
#################################
|
||||||
# objects, path, dependency
|
# objects, path, dependency
|
||||||
#################################
|
#################################
|
||||||
TESTFILE_OBJ =\
|
TESTFILE_SRC =\
|
||||||
test00.obj\
|
test00.c\
|
||||||
test01.obj\
|
test01.c\
|
||||||
test02.obj\
|
test02.c\
|
||||||
test03.obj\
|
test03.c\
|
||||||
test04.obj\
|
test04.c\
|
||||||
test05.obj\
|
test05.c\
|
||||||
test06.obj\
|
test06.c\
|
||||||
test07.obj\
|
test07.c\
|
||||||
test08.obj\
|
test08.c\
|
||||||
test09.obj\
|
test09.c\
|
||||||
test10.obj\
|
test10.c\
|
||||||
test11.obj\
|
test11.c\
|
||||||
test12.obj\
|
test12.c\
|
||||||
test13.obj\
|
test13.c\
|
||||||
test14.obj\
|
test14.c\
|
||||||
test15.obj\
|
test15.c\
|
||||||
test16.obj\
|
test16.c\
|
||||||
test17.obj\
|
test17.c\
|
||||||
test18.obj\
|
test18.c\
|
||||||
test19.obj\
|
test19.c\
|
||||||
test20.obj\
|
test20.c\
|
||||||
test21.obj\
|
test21.c\
|
||||||
test22.obj\
|
test22.c\
|
||||||
test23.obj\
|
test23.c\
|
||||||
test24.obj\
|
test24.c\
|
||||||
test25.obj\
|
test25.c\
|
||||||
test26.obj\
|
test26.c\
|
||||||
test27.obj\
|
test27.c\
|
||||||
test28.obj\
|
test28.c\
|
||||||
test29.obj\
|
test29.c\
|
||||||
test30.obj\
|
test30.c\
|
||||||
test31.obj\
|
test31.c\
|
||||||
test32.obj\
|
test32.c\
|
||||||
test33.obj\
|
test33.c\
|
||||||
test34.obj\
|
test34.c\
|
||||||
test35.obj\
|
test35.c\
|
||||||
test36.obj\
|
test36.c\
|
||||||
test37.obj\
|
test37.c\
|
||||||
test38.obj\
|
test38.c\
|
||||||
test39.obj\
|
test39.c\
|
||||||
test40.obj\
|
test40.c\
|
||||||
test41.obj\
|
test41.c\
|
||||||
test42.obj\
|
test42.c\
|
||||||
test43.obj\
|
test43.c\
|
||||||
test44.obj\
|
test44.c\
|
||||||
test45.obj\
|
test45.c\
|
||||||
test46.obj\
|
test46.c\
|
||||||
test47.obj\
|
test47.c\
|
||||||
test48.obj\
|
test48.c\
|
||||||
test49.obj\
|
test49.c\
|
||||||
display.obj
|
sbench.c\
|
||||||
|
display.c
|
||||||
|
|
||||||
SUB_OBJ = tlib.obj
|
TESTFILE_OBJ = $(TESTFILE_SRC:.c=.obj)
|
||||||
|
|
||||||
INCS =\
|
INCS =\
|
||||||
-I$(GLIDE_ROOT)\$(FX_GLIDE_HW)\$(FX_HW_PROJECTS)\src\
|
-I$(GLIDE_ROOT)\$(FX_GLIDE_HW)\$(FX_HW_PROJECTS)\src\
|
||||||
@@ -114,13 +115,19 @@ DEP_LIB = user32.lib gdi32.lib
|
|||||||
#################################
|
#################################
|
||||||
default:: all
|
default:: all
|
||||||
|
|
||||||
all: $(SUB_OBJ) $(TESTFILE_OBJ) $(TESTFILE_OBJ:.obj=.exe)
|
all: tlib.obj fxos.obj $(TESTFILE_OBJ) $(TESTFILE_OBJ:.obj=.exe)
|
||||||
|
|
||||||
|
tlib.obj: tlib.c
|
||||||
|
$(CC) -o $@ $(INCS) $(FLAGS) $(CFLAGS) tlib.c
|
||||||
|
|
||||||
|
fxos.obj: $(GLIDE_ROOT)\$(FX_GLIDE_SWLIBS)\fxmisc\fxos.c
|
||||||
|
$(CC) -o $@ $(INCS) $(FLAGS) $(CFLAGS) $(GLIDE_ROOT)\$(FX_GLIDE_SWLIBS)\fxmisc\fxos.c
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(CC) -o $@ $(INCS) $(FLAGS) $(CFLAGS) $<
|
$(CC) -o $@ $(INCS) $(FLAGS) $(CFLAGS) $<
|
||||||
|
|
||||||
.obj.exe:
|
.obj.exe:
|
||||||
$(LINK) -out:$@ $(LFLAGS) $< $(SUB_OBJ) $(DEP_LIB) $(GLIDE_LIB)
|
$(LINK) -out:$@ $(LFLAGS) $< tlib.obj fxos.obj $(DEP_LIB) $(GLIDE_LIB)
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# cleanup rules
|
# cleanup rules
|
||||||
|
|||||||
Reference in New Issue
Block a user