Changeset 4624 for trunk/src/opengl/glide/swlibs
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/swlibs/pcilib/makefile
r3031 r4624 1 # $Id: makefile,v 1. 3 2000-03-06 23:33:47bird Exp $1 # $Id: makefile,v 1.4 2000-11-19 08:58:12 bird Exp $ 2 2 # 3 3 # Odin32 API … … 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 16 14 17 15 # Local cleanup only. 16 LOCALCLEAN = 1 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 17 23 18 24 25 # 19 26 # Compiler, tools, and interference rules. 27 # 20 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 29 !include ..\..\sst1\3dfx.mak 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE) 28 29 CFLAGS = $(CFLAGS) $(CINCLUDE) 30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init 31 36 32 37 33 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Object files. Prefix with OBJDIR and one space before the '\'. 40 # 34 41 OBJS = \ 35 42 $(OBJDIR)\fxos2.obj \ … … 39 46 40 47 48 # 41 49 # Target name - name of the library without extention and path. 50 # 42 51 TARGET = pcilib 43 52 44 53 45 # All rule - build objs and target library. 46 all: $(OBJDIR) \ 47 $(OBJDIR)\$(TARGET).lib 54 # 55 # Includes the common rules. 56 # 57 !include $(PDWIN32_INCLUDE)/pdwin32.post 48 58 49 59 50 # Create all libraries (not importlibraries) 51 libs: all 60 # 61 # Additional dep rule - adds depenencies for some additional headers. 62 # 63 mydep: 64 $(DEPEND) -a $(CINCLUDES) \ 65 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \ 66 ..\..\sst1\glide\*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 52 67 53 54 # Lib rule - build importlibrary (and evt. other libs)55 $(OBJDIR)\$(TARGET).lib: $(OBJS)56 $(RM) $@57 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);58 59 60 # Dep rule - makes depenencies for C, C++ and Asm files.61 dep:62 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \63 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \64 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \65 ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h66 67 68 # Includes the common rules.69 !include $(PDWIN32_INCLUDE)/pdwin32.post70
Note:
See TracChangeset
for help on using the changeset viewer.