Changeset 3031 for trunk/src/opengl/glide/cvg/texus
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/opengl/glide/cvg/texus/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/cvg/texus/makefile
r2888 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:37:59 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:44 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 13 TARGET=TEXUS14 14 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 18 19 # Compiler, tools, and interference rules. 15 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 21 !include ..\3dfx.mak 17 22 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib19 23 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)24 # Flag overloads and local macros. 25 CLEANEXTRAS = 22 26 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.OBJ 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 27 30 28 all: $(TARGET).lib29 31 30 $(TARGET).lib: $(OBJS) 31 $(RM) $(TARGET).lib 32 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,, 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 33 53 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 ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 38 79 39 !ifndef NODEP40 !include .depend41 !endif42 80 43 clean: 44 $(RM) *.obj *.lib 81 # Includes the common rules. 82 !include $(PDWIN32_INCLUDE)/pdwin32.post 45 83
Note:
See TracChangeset
for help on using the changeset viewer.
