Ignore:
Timestamp:
Mar 7, 2000, 12:39:20 AM (26 years ago)
Author:
bird
Message:

Makefiles are updated to new style.
Odin32 resource files are renamed to *.orc and most have changed name to avoid
name clashes for object files.

Location:
trunk/src/opengl/glide/cvg/init
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glide/cvg/init/makefile

    r2888 r3031  
    1 # $Id: makefile,v 1.1 2000-02-25 00:37:52 sandervl Exp $
     1# $Id: makefile,v 1.2 2000-03-06 23:33:44 bird Exp $
    22#
    33# PD-Win32 API
    44#
    5 #       Glide makefile
     5#       Init makefile
    66#
    77
     8# Directory macros.
    89PDWIN32_INCLUDE = ..\..\..\..\..\include
    910PDWIN32_LIB = ..\..\..\..\..\lib
    10 PDWIN32_BIN = ..\..\..\..\..\bin
     11PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR)
    1112PDWIN32_TOOLS = ..\..\..\..\..\tools\bin
    1213
     14
     15# Compiler, tools, and interference rules.
     16LOCALCLEAN  = 1
    1317!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1418!include ..\3dfx.mak
    1519
    16 TARGET=init
     20# Flag overloads and local macros.
     21CLEANEXTRAS =
    1722
    18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib
     23CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib
     24CFLAGS      = $(CFLAGS) $(CINCLUDE)
     25CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
    1926
    20 CFLAGS = $(CFLAGS) $(CINCLUDE)
    21 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE)
    2227
    23 OBJS =  DAC.OBJ GAMMA.OBJ GDEBUG.OBJ INFO.OBJ PARSE.OBJ \
    24         PRINT.OBJ SLI.OBJ SST1INIT.OBJ UTIL.OBJ VIDEO.OBJ
     28# Object files. All objects should be prefixed with $(OBJDIR)!
     29OBJS = \
     30$(OBJDIR)\DAC.OBJ \
     31$(OBJDIR)\GAMMA.OBJ \
     32$(OBJDIR)\GDEBUG.OBJ \
     33$(OBJDIR)\INFO.OBJ \
     34$(OBJDIR)\PARSE.OBJ \
     35$(OBJDIR)\PRINT.OBJ \
     36$(OBJDIR)\SLI.OBJ \
     37$(OBJDIR)\SST1INIT.OBJ \
     38$(OBJDIR)\UTIL.OBJ \
     39$(OBJDIR)\VIDEO.OBJ
    2540
    26 all: $(TARGET).lib
    2741
    28 $(TARGET).lib: $(OBJS)
    29         $(RM) $(TARGET).lib
    30         $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS),,
     42# Target name - name of the dll without extention and path.
     43TARGET  = init
     44
     45
     46# All rule - build objs, target dll, copies dll to bin and makes libs.
     47all:    $(OBJDIR) \
     48        $(OBJDIR)\$(TARGET).lib
     49
     50
     51# Create all libraries (not importlibraries)
     52libs: all
     53
     54
     55# Lib target rule - builds the library.
     56$(OBJDIR)\$(TARGET).lib: $(OBJS)
     57    $(RM) $@
     58    $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    3159
    3260
    3361
     62# Dep rule - makes depenencies for C, C++ and Asm files.
    3463dep:
    3564    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    3665        *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    37         ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 
     66        ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    3867
    39 !ifndef NODEP
    40 !include .depend
    41 !endif
    4268
    43 clean:
    44     $(RM) *.obj *.pch
    45     $(RM) *.lib
     69# Includes the common rules.
     70!include $(PDWIN32_INCLUDE)/pdwin32.post
    4671
Note: See TracChangeset for help on using the changeset viewer.