Changeset 3031 for trunk/src/opengl/glide/sst1/texus
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/opengl/glide/sst1/texus/makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
