Changeset 3031 for trunk/src/opengl/glide/sst1
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- Location:
- trunk/src/opengl/glide/sst1
- Files:
-
- 2 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/sst1/glide/makefile
r2885 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:31:20 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:45 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 5 # Glide makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 13 TARGET=glide 14 # Local cleanup only. 15 LOCALCLEAN = 1 14 16 17 # Compiler, tools, and interference rules. 15 18 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 19 !include ..\3dfx.mak 17 20 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib;$(PDWIN32_INCLUDE)19 21 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)22 # Flag overloads and local macros. 23 CLEANEXTRAS = glidersrc.asm 22 24 23 OBJS = CPUDTECT.OBJ DDGUMP.OBJ DIGLIDE.OBJ DIGUTEX.OBJ DISST.OBJ \ 24 DITEX.OBJ G3DF.OBJ GAA.OBJ GBANNER.OBJ \ 25 GDRAW.OBJ GERROR.OBJ GGLIDE.OBJ GLFB.OBJ GMOVIE.OBJ \ 26 GPCI.OBJ GSPLASH.OBJ GSST.OBJ GTEX.OBJ GTEXDL.OBJ \ 27 GU.OBJ GUCLIP.OBJ GUMP.OBJ GUTEX.OBJ GXDRAW.OBJ \ 28 P6FENCE.OBJ SST96.OBJ 25 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib; 26 CFLAGS = $(CFLAGS) $(CINCLUDE) 27 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 28 RCFLAGS = $(RCFLAGS) $(CINCLUDE) 29 29 30 30 31 all: $(TARGET).lib 31 # Object files. All objects should be prefixed with $(OBJDIR)! 32 OBJS = \ 33 $(OBJDIR)\CPUDTECT.OBJ \ 34 $(OBJDIR)\DDGUMP.OBJ \ 35 $(OBJDIR)\DIGLIDE.OBJ \ 36 $(OBJDIR)\DIGUTEX.OBJ \ 37 $(OBJDIR)\DISST.OBJ \ 38 $(OBJDIR)\DITEX.OBJ \ 39 $(OBJDIR)\G3DF.OBJ \ 40 $(OBJDIR)\GAA.OBJ \ 41 $(OBJDIR)\GBANNER.OBJ \ 42 $(OBJDIR)\GDRAW.OBJ \ 43 $(OBJDIR)\GERROR.OBJ \ 44 $(OBJDIR)\GGLIDE.OBJ \ 45 $(OBJDIR)\GLFB.OBJ \ 46 $(OBJDIR)\GMOVIE.OBJ \ 47 $(OBJDIR)\GPCI.OBJ \ 48 $(OBJDIR)\GSPLASH.OBJ \ 49 $(OBJDIR)\GSST.OBJ \ 50 $(OBJDIR)\GTEX.OBJ \ 51 $(OBJDIR)\GTEXDL.OBJ \ 52 $(OBJDIR)\GU.OBJ \ 53 $(OBJDIR)\GUCLIP.OBJ \ 54 $(OBJDIR)\GUMP.OBJ \ 55 $(OBJDIR)\GUTEX.OBJ \ 56 $(OBJDIR)\GXDRAW.OBJ \ 57 $(OBJDIR)\P6FENCE.OBJ \ 58 $(OBJDIR)\SST96.OBJ \ 59 $(OBJDIR)\glidersrc.obj 32 60 33 $(TARGET).lib: $(OBJS)34 $(RM) $(TARGET).lib35 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,36 61 62 # Target name - name of the library without extention and path. 63 TARGET = glide 64 65 # All rule - build objs and target library. 66 all: $(OBJDIR) \ 67 $(OBJDIR)\$(TARGET).lib 68 69 70 # Create all libraries (not importlibraries) 71 libs: all 72 73 74 # Lib rule - build importlibrary (and evt. other libs) 75 $(OBJDIR)\$(TARGET).lib: $(OBJS) 76 $(RM) $@ 77 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 78 79 80 # Dep rule - makes depenencies for C, C++ and Asm files. 37 81 dep: 38 82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 39 83 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 40 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 41 85 42 !ifndef NODEP43 !include .depend44 !endif45 86 46 clean: 47 $(RM) *.obj *.pch 48 $(RM) *.lib 87 # Includes the common rules. 88 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 89 -
trunk/src/opengl/glide/sst1/init/initvg/makefile
r2885 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:31:33 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\..\tools\bin 12 13 14 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 18 19 # Compiler, tools, and interference rules. 13 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 21 !include ..\..\3dfx.mak 15 22 16 CINCLUDE=-I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib17 23 18 CFLAGS = $(CFLAGS) $(CINCLUDE) 19 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)24 # Flag overloads and local macros. 25 CLEANEXTRAS = glide.asm 20 26 21 OBJS = DAC.OBJ GAMMA.OBJ GDEBUG.OBJ INFO.OBJ PARSE.OBJ \ 22 PRINT.OBJ SLI.OBJ SST1INIT.OBJ UTIL.OBJ VIDEO.OBJ 27 CINCLUDE = -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 23 30 24 all: $(OBJS)25 31 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 OBJS = \ 34 $(OBJDIR)\DAC.OBJ \ 35 $(OBJDIR)\GAMMA.OBJ \ 36 $(OBJDIR)\GDEBUG.OBJ \ 37 $(OBJDIR)\INFO.OBJ \ 38 $(OBJDIR)\PARSE.OBJ \ 39 $(OBJDIR)\PRINT.OBJ \ 40 $(OBJDIR)\SLI.OBJ \ 41 $(OBJDIR)\SST1INIT.OBJ \ 42 $(OBJDIR)\UTIL.OBJ \ 43 $(OBJDIR)\VIDEO.OBJ 44 45 46 # All - rule make all objects. 47 all: $(OBJDIR) \ 48 $(OBJS) 49 50 51 # Dep rule - makes depenencies for C, C++ and Asm files. 26 52 dep: 27 53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 28 54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 29 ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h 55 ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h \ 56 ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h 30 57 31 !ifndef NODEP32 !include .depend33 !endif34 58 35 clean: 36 $(RM) *.obj *.pch 37 $(RM) *.lib 59 # Includes the common rules. 60 !include $(PDWIN32_INCLUDE)/pdwin32.post 38 61 -
trunk/src/opengl/glide/sst1/init/makefile
r3011 r3031 1 # $Id: makefile,v 1. 2 2000-03-04 20:03:43bird Exp $1 # $Id: makefile,v 1.3 2000-03-06 23:33:46 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 # Glidemakefile5 # sst1\Init makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 14 # Local cleanup only and extra cleanrule. 15 LOCALCLEAN = 1 16 CLEAN2 = 1 17 18 # Compiler, tools, and interference rules. 13 19 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 20 !include ..\3dfx.mak 15 21 16 TARGET1=init17 TARGET2=initvg18 22 19 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 23 # Flag overloads and local macros. 24 CLEANEXTRAS = 20 25 21 CFLAGS = $(CFLAGS) $(CINCLUDE) 22 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 23 24 OBJS = H3DRVR.OBJ INIT.OBJ VG96DRVR.OBJ VGDRVR.OBJ \ 25 $(TARGET2)\DAC.OBJ $(TARGET2)\GAMMA.OBJ $(TARGET2)\GDEBUG.OBJ $(TARGET2)\INFO.OBJ $(TARGET2)\PARSE.OBJ \ 26 $(TARGET2)\PRINT.OBJ $(TARGET2)\SLI.OBJ $(TARGET2)\SST1INIT.OBJ $(TARGET2)\UTIL.OBJ $(TARGET2)\VIDEO.OBJ 27 28 all: $(TARGET2).lib $(TARGET1).lib 29 30 $(TARGET1).lib: $(OBJS) 31 $(RM) $(TARGET1).lib 32 $(ILIB) $(ILIBFLAGS) $(TARGET1).lib $(OBJS),, 26 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 27 CFLAGS = $(CFLAGS) $(CINCLUDE) 28 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 33 29 34 30 35 $(TARGET2).lib: 36 cd initvg 37 $(MAKE_CMD) 31 # Object files. All objects should be prefixed with $(OBJDIR)! 32 INITSUB = initvg 33 OBJS = \ 34 $(OBJDIR)\H3DRVR.OBJ \ 35 $(OBJDIR)\INIT.OBJ \ 36 $(OBJDIR)\VG96DRVR.OBJ \ 37 $(OBJDIR)\VGDRVR.OBJ 38 39 # More object files 40 OBJSSUB = \ 41 $(INITSUB)\$(OBJDIR)\DAC.OBJ \ 42 $(INITSUB)\$(OBJDIR)\GAMMA.OBJ \ 43 $(INITSUB)\$(OBJDIR)\GDEBUG.OBJ \ 44 $(INITSUB)\$(OBJDIR)\INFO.OBJ \ 45 $(INITSUB)\$(OBJDIR)\PARSE.OBJ \ 46 $(INITSUB)\$(OBJDIR)\PRINT.OBJ \ 47 $(INITSUB)\$(OBJDIR)\SLI.OBJ \ 48 $(INITSUB)\$(OBJDIR)\SST1INIT.OBJ \ 49 $(INITSUB)\$(OBJDIR)\UTIL.OBJ \ 50 $(INITSUB)\$(OBJDIR)\VIDEO.OBJ 51 52 53 # Target name - name of the library without extention and path. 54 TARGET = init 55 56 57 # All rule - build objs and target library. 58 all: $(OBJDIR) \ 59 initsub \ 60 $(OBJDIR)\$(TARGET).lib \ 61 62 63 # Make objectfiles in subdirectories. 64 initsub: 65 cd $(INITSUB) 66 $(MAKE_CMD) all 38 67 cd .. 39 68 69 70 # Create all libraries (not importlibraries) 71 libs: all 72 73 74 # Lib rule - build importlibrary (and evt. other libs) 75 $(OBJDIR)\$(TARGET).lib: $(OBJS) 76 $(RM) $@ 77 $(ILIB) $(ILIBFLAGS) $@ $(OBJS) $(OBJSSUB); 78 79 80 # Dep rule - makes depenencies for C, C++ and Asm files. 40 81 dep: 41 82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ … … 43 84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 44 85 cd initvg 45 $(MAKE_CMD) dep 86 $(MAKE_CMD) $@ 87 cd .. 46 88 47 !ifndef NODEP48 !include .depend49 !endif50 89 51 clean: 52 $(RM) *.obj *.pch 53 $(RM) *.lib 90 # Includes the common rules. 91 !include $(PDWIN32_INCLUDE)/pdwin32.post 92 93 94 # extra clean rule 95 clean2: 54 96 cd initvg 55 97 $(MAKE_CMD) clean 56 98 cd .. 57 -
trunk/src/opengl/glide/sst1/makefile
r3011 r3031 1 # $Id: makefile,v 1.2 2000-03-04 20:03:43 bird Exp $ 1 # $Id: makefile,v 1.3 2000-03-06 23:33:44 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 # Glide makefile6 # sst1\Glide makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\include 9 11 PDWIN32_LIB = ..\..\..\..\lib … … 11 13 PDWIN32_TOOLS = ..\..\..\..\tools\bin 12 14 15 16 # Have extra clean rule. 17 CLEAN2 = 1 18 19 # Compiler, tools, and interference rules. 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 22 23 # Object files. All objects should be prefixed with $(OBJDIR)! 24 OBJS = \ 25 $(OBJDIR)\initterm.obj 26 27 28 # Target name - name of the dll without extention and path. 13 29 TARGET = glide2x 14 30 15 !include $(PDWIN32_INCLUDE)/pdwin32.mk16 31 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) 32 # All rule - build objs, target dll, copies dll to bin and makes libs. 33 all: $(OBJDIR) \ 34 libs \ 35 $(OBJDIR)\$(TARGET).dll \ 36 $(PDWIN32_BIN)\$(TARGET).dll \ 37 lib 19 38 20 OBJS = initterm.obj \21 glideres.obj \22 ..\swlibs\pcilib\pcilib.lib \23 texus\texus.lib \24 init\init.lib \25 glide\glide.lib \26 39 27 all: ..\swlibs\pcilib\pcilib.lib init\init.lib texus\texus.lib glide\glide.lib $(TARGET).dll $(TARGET).lib 40 # Lib rule - build importlibrary (and evt. other libs) 41 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 28 42 29 ..\swlibs\pcilib\pcilib.lib: 43 44 # Libs rule - Make (sub) libraries. (Not import libraries!) 45 libs: 30 46 cd ..\swlibs\pcilib 31 $(MAKE_CMD) 32 cd ..\..\sst1 33 34 init\init.lib: 35 cd init 36 $(MAKE_CMD) 47 $(MAKE_CMD) $@ 48 cd ..\..\sst1\init 49 $(MAKE_CMD) $@ 50 cd ..\glide 51 $(MAKE_CMD) $@ 52 cd ..\texus 53 $(MAKE_CMD) $@ 37 54 cd .. 38 55 39 glide\glide.lib:40 cd glide41 $(MAKE_CMD)42 cd ..43 44 texus\texus.lib:45 cd texus46 $(MAKE_CMD)47 cd ..48 56 49 57 $(TARGET).dll: $(OBJS) $(TARGET).def … … 51 59 $(PDWIN32_LIB)/kernel32.lib \ 52 60 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 53 $(CP) $@ $(PDWIN32_BIN)\Glide\Voodoo154 61 55 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib56 62 57 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 63 # Dll rule - builds the target dll. 64 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf 65 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 66 67 68 # Linker file - creates the parameter file passed on to the linker. 69 $(OBJDIR)\$(TARGET).lrf: makefile 70 @echo Creating file <<$@ 71 /OUT:$(OBJDIR)\$(TARGET).dll 72 /MAP:$(OBJDIR)\$(TARGET).map 73 $(OBJS) 74 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib 75 texus\$(OBJDIR)\texus.lib 76 init\$(OBJDIR)\init.lib 77 glide\$(OBJDIR)\glide.lib 78 $(PDWIN32_LIB)\kernel32.lib 79 $(PDWIN32_LIB)\odincrt.lib 80 OS2386.LIB 81 $(RTLLIB_O) 82 $(TARGET).def 83 <<keep 84 85 86 # Copy rule. 87 $(PDWIN32_BIN)\Glide\Voodoo1\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll 58 88 $(CP) $** $@ 59 89 60 $(TARGET).lib: $(TARGET).def61 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).def62 $(CP) $@ $(PDWIN32_LIB)63 90 64 RCFLAGS = $(RCFLAGS) -I..\swlibs\fxmisc -Iglide 65 66 glideres.asm: glide\glide.rc 67 $(RC) $(RCFLAGS) -o glideres.asm glide\glide.rc 68 69 initterm.obj: initterm.cpp 70 91 # Dep rule - makes depenencies for C, C++ and Asm files. 71 92 dep: 72 93 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 73 94 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 74 95 cd ..\swlibs\pcilib 75 $(MAKE_CMD) dep76 cd ..\..\sst1\ glide77 $(MAKE_CMD) dep78 cd ..\ init79 $(MAKE_CMD) dep96 $(MAKE_CMD) $@ 97 cd ..\..\sst1\init 98 $(MAKE_CMD) $@ 99 cd ..\glide 100 $(MAKE_CMD) $@ 80 101 cd ..\texus 81 $(MAKE_CMD) dep102 $(MAKE_CMD) $@ 82 103 cd .. 83 104 84 !ifndef NODEP85 !include .depend86 !endif87 105 88 clean: 89 $(RM) *.obj *.pch 90 $(RM) *.map *.dll 91 $(RM) *.lib 92 $(RM) glideres.asm 106 # Includes the common rules. 107 !include $(PDWIN32_INCLUDE)/pdwin32.post 108 109 110 # Extra clean rule 111 clean2: 93 112 cd ..\swlibs\pcilib 94 113 $(MAKE_CMD) clean 95 cd ..\..\sst1\ glide114 cd ..\..\sst1\init 96 115 $(MAKE_CMD) clean 97 cd ..\ init116 cd ..\glide 98 117 $(MAKE_CMD) clean 99 118 cd ..\texus -
trunk/src/opengl/glide/sst1/texus/makefile
r2885 r3031 1 # $Id: makefile,v 1.1 2000-02-25 00:31:37 sandervl Exp $ 1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 # Glidemakefile6 # Texus makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin11 PDWIN32_LIB = ..\..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 14 13 TARGET=TEXUS14 15 16 # Local cleanup only. 17 LOCALCLEAN = 1 18 19 20 # Compiler, tools, and interference rules. 15 21 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 22 !include ..\3dfx.mak 17 23 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 19 26 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 22 30 23 OBJS = 3DF.OBJ CLAMP.OBJ DEQUANT.OBJ DIFFUSE.OBJ GLDUTIL.OBJ \24 MIPMAP.OBJ NCC.OBJ NCCNNET.OBJ PAL256.OBJ PPM.OBJ \25 QUANTIZE.OBJ READ.OBJ RESAMPLE.OBJ RGT.OBJ TEXUSLIB.OBJ \26 TGA.OBJ UTIL.OBJ VIEW.OBJ WRITE.OBJ27 31 28 all: $(TARGET).lib 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 OBJS = \ 34 $(OBJDIR)\3DF.OBJ \ 35 $(OBJDIR)\CLAMP.OBJ \ 36 $(OBJDIR)\DEQUANT.OBJ \ 37 $(OBJDIR)\DIFFUSE.OBJ \ 38 $(OBJDIR)\GLDUTIL.OBJ \ 39 $(OBJDIR)\MIPMAP.OBJ \ 40 $(OBJDIR)\NCC.OBJ \ 41 $(OBJDIR)\NCCNNET.OBJ \ 42 $(OBJDIR)\PAL256.OBJ \ 43 $(OBJDIR)\PPM.OBJ \ 44 $(OBJDIR)\QUANTIZE.OBJ \ 45 $(OBJDIR)\READ.OBJ \ 46 $(OBJDIR)\RESAMPLE.OBJ \ 47 $(OBJDIR)\RGT.OBJ \ 48 $(OBJDIR)\TEXUSLIB.OBJ \ 49 $(OBJDIR)\TGA.OBJ \ 50 $(OBJDIR)\UTIL.OBJ \ 51 $(OBJDIR)\VIEW.OBJ \ 52 $(OBJDIR)\WRITE.OBJ 29 53 30 $(TARGET).lib: $(OBJS)31 $(RM) $(TARGET).lib32 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,33 54 55 # Target name - name of the library without extention and path. 56 TARGET = texus 57 58 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 62 63 64 # Create all libraries (not importlibraries) 65 libs: all 66 67 68 # Lib rule - build importlibrary (and evt. other libs) 69 $(OBJDIR)\$(TARGET).lib: $(OBJS) 70 $(RM) $@ 71 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 72 73 74 # Dep rule - makes depenencies for C, C++ and Asm files. 34 75 dep: 35 76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 36 77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 37 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h \ 79 ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 38 80 39 !ifndef NODEP40 !include .depend41 !endif42 81 43 clean: 44 $(RM) *.obj *.lib 82 # Includes the common rules. 83 !include $(PDWIN32_INCLUDE)/pdwin32.post 45 84
Note:
See TracChangeset
for help on using the changeset viewer.