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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/nurbs/interface/makefile

    r2961 r3031  
    1 # $Id: makefile,v 1.5 2000-03-01 14:50:16 sandervl Exp $
     1# $Id: makefile,v 1.6 2000-03-06 23:33:49 bird Exp $
    22#
    33# PD-Win32 API
     
    66#
    77
     8# Directory macros.
    89PDWIN32_INCLUDE = ..\..\..\..\..\include
    9 PDWIN32_LIB = ..\..\..\..\..\lib
    10 PDWIN32_BIN = ..\..\..\..\..\bin
    11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin
     10PDWIN32_LIB     = ..\..\..\..\..\lib
     11PDWIN32_BIN     = ..\..\..\..\..\$(OBJDIR)
     12PDWIN32_TOOLS   = ..\..\..\..\..\tools\bin
    1213
    1314
     15# Local cleanup only.
     16LOCALCLEAN = 1
     17
     18
     19# Compiler, tools, and interference rules.
    1420!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1521
    16 CINCLUDE=-I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess -I$(PDWIN32_INCLUDE) -I..\..\include  -I..\..\..\mesa
    1722
    18 CFLAGS = $(CFLAGS) $(CINCLUDE)  -DNDEBUG
    19 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
     23# Flag overloads and local macros.
     24CLEANEXTRAS =
    2025
    21 OBJS = glcurveval.obj glinterface.obj glrenderer.obj glsurfeval.obj \
    22        insurfeval.obj bezierPatch.obj bezierEval.obj bezierPatchMesh.obj \
    23        incurveeval.obj
     26CINCLUDE    = -I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess \
     27              -I..\..\include  -I..\..\..\mesa
    2428
    25 all: $(OBJS)
     29CFLAGS      = $(CFLAGS) $(CINCLUDE)  -DNDEBUG
     30CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
    2631
    2732
     33# Object files. All objects should be prefixed with $(OBJDIR)!
     34OBJS = \
     35$(OBJDIR)\glcurveval.obj \
     36$(OBJDIR)\glinterface.obj \
     37$(OBJDIR)\glrenderer.obj \
     38$(OBJDIR)\glsurfeval.obj \
     39$(OBJDIR)\insurfeval.obj \
     40$(OBJDIR)\bezierPatch.obj \
     41$(OBJDIR)\bezierEval.obj \
     42$(OBJDIR)\bezierPatchMesh.obj \
     43$(OBJDIR)\incurveeval.obj
     44
     45
     46# Target name - name of the library without extention and path.
     47TARGET = interface
     48
     49
     50# Create all libraries (not importlibraries)
     51all:    $(OBJDIR) \
     52        $(OBJDIR)\$(TARGET).lib
     53
     54
     55# Create all libraries (not importlibraries)
     56libs: all
     57
     58
     59# Lib rule - build importlibrary (and evt. other libs)
     60$(OBJDIR)\$(TARGET).lib: $(OBJS)
     61    $(RM) $@
     62    $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
     63
     64
     65# Dep rule - makes depenencies for C, C++ and Asm files.
    2866dep:
    2967    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
    3068        ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\GL\*.h
    3169
    32 !ifndef NODEP
    33 !include .depend
    34 !endif
    3570
     71# Includes the common rules.
     72!include $(PDWIN32_INCLUDE)/pdwin32.post
    3673
    37 clean:
    38     $(RM) *.obj *.pch
    39 
Note: See TracChangeset for help on using the changeset viewer.