Changeset 4624 for trunk/src/opengl/glide/cvg/texus
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/cvg/texus/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:44bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 # 8 9 # Directory macros. 10 # 9 11 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 12 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 15 14 16 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 # 18 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 19 # 20 LIBTARGET = 1 21 ADDITIONAL_DEP = mydep 17 22 18 23 24 # 19 25 # Compiler, tools, and interference rules. 26 # 20 27 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 28 !include ..\3dfx.mak 22 29 23 30 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 31 # 32 # Flag overloads. 33 # 34 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 30 35 31 36 32 # Object files. All objects should be prefixed with $(OBJDIR)! 37 # 38 # Object files. Prefix with OBJDIR and one space before the '\'. 39 # 33 40 OBJS = \ 34 $(OBJDIR)\3 DF.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.OBJ41 $(OBJDIR)\3df.obj \ 42 $(OBJDIR)\clamp.obj \ 43 $(OBJDIR)\dequant.obj \ 44 $(OBJDIR)\diffuse.obj \ 45 $(OBJDIR)\gldutil.obj \ 46 $(OBJDIR)\mipmap.obj \ 47 $(OBJDIR)\ncc.obj \ 48 $(OBJDIR)\nccnnet.obj \ 49 $(OBJDIR)\pal256.obj \ 50 $(OBJDIR)\ppm.obj \ 51 $(OBJDIR)\quantize.obj \ 52 $(OBJDIR)\read.obj \ 53 $(OBJDIR)\resample.obj \ 54 $(OBJDIR)\rgt.obj \ 55 $(OBJDIR)\texuslib.obj \ 56 $(OBJDIR)\tga.obj \ 57 $(OBJDIR)\util.obj \ 58 $(OBJDIR)\view.obj \ 59 $(OBJDIR)\write.obj 53 60 54 61 62 # 55 63 # Target name - name of the library without extention and path. 56 TARGET = texus 64 # 65 TARGET = texus 57 66 58 67 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 68 # 69 # Includes the common rules. 70 # 71 !include $(PDWIN32_INCLUDE)/pdwin32.post 62 72 63 73 64 # Create all libraries (not importlibraries) 65 libs: all 74 # 75 # Additional dep rule - adds depenencies for some additional headers. 76 # 77 mydep: 78 $(DEPEND) -a $(CINCLUDES) \ 79 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h \ 80 ..\..\swlibs\pcilib\*.h 66 81 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.75 dep:76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h79 80 81 # Includes the common rules.82 !include $(PDWIN32_INCLUDE)/pdwin32.post83
Note:
See TracChangeset
for help on using the changeset viewer.