Changeset 3031 for trunk/src/opengl/glide/swlibs
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/swlibs/pcilib/makefile
r2967 r3031 1 # $Id: makefile,v 1. 2 2000-03-02 13:22:02 sandervlExp $1 # $Id: makefile,v 1.3 2000-03-06 23:33:47 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 # Glidemakefile5 # swlibs\pcilib 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=pcilib14 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 ..\..\sst1\3dfx.mak 22 23 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 17 26 18 27 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE) … … 21 30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 22 31 23 OBJS = fxos2.obj fxpci.obj sst1_pci.obj fxinfo.obj24 32 25 all: $(TARGET).lib 33 # Object files. All objects should be prefixed with $(OBJDIR)! 34 OBJS = \ 35 $(OBJDIR)\fxos2.obj \ 36 $(OBJDIR)\fxpci.obj \ 37 $(OBJDIR)\sst1_pci.obj \ 38 $(OBJDIR)\fxinfo.obj 26 39 27 $(TARGET).lib: $(OBJS)28 $(RM) $(TARGET).lib29 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,30 40 41 # Target name - name of the library without extention and path. 42 TARGET = pcilib 43 44 45 # All rule - build objs and target library. 46 all: $(OBJDIR) \ 47 $(OBJDIR)\$(TARGET).lib 48 49 50 # Create all libraries (not importlibraries) 51 libs: all 52 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. 31 61 dep: 32 62 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 33 63 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 34 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 64 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \ 65 ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 35 66 36 !ifndef NODEP37 !include .depend38 !endif39 67 40 clean: 41 $(RM) *.obj *.pch 42 $(RM) *.lib 68 # Includes the common rules. 69 !include $(PDWIN32_INCLUDE)/pdwin32.post 43 70
Note:
See TracChangeset
for help on using the changeset viewer.