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/tess/makefile

    r2945 r3031  
    1 # $Id: makefile,v 1.3 2000-02-29 13:56:50 sandervl Exp $
     1# $Id: makefile,v 1.4 2000-03-06 23:33:50 bird Exp $
     2
    23#
    3 # PD-Win32 API
     4# Odin32 API
    45#
    56#       glu/tess makefile
    67#
    78
     9# Directory macros.
    810PDWIN32_INCLUDE = ..\..\..\..\include
    9 PDWIN32_LIB = ..\..\..\..\lib
    10 PDWIN32_BIN = ..\..\..\..\bin
    11 PDWIN32_TOOLS = ..\..\..\..\tools\bin
     11PDWIN32_LIB     = ..\..\..\..\lib
     12PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)
     13PDWIN32_TOOLS   = ..\..\..\..\tools\bin
    1214
    1315
     16# Local cleanup only.
     17LOCALCLEAN = 1
     18
     19
     20# Compiler, tools, and interference rules.
    1421!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1522
    16 CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include -I..\..\mesa\GL
    17 CDEFS=-DNDEBUG -Tdp
    1823
    19 CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS) -DNDEBUG
    20 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -$(CDEFS) -DNDEBUG
     24# Flag overloads and local macros.
     25CLEANEXTRAS =
    2126
    22 OBJS= dict.obj memalloc.obj mesh.obj normal.obj priorityq.obj \
    23       render.obj sweep.obj tess.obj tessmono.obj geom.obj
    24 
    25 all: $(OBJS)
     27CINCLUDE    = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
     28CDEFS       = -DNDEBUG -Tdp
     29CFLAGS      = $(CFLAGS) $(CINCLUDE) $(CDEFS) -DNDEBUG
     30CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) -$(CDEFS) -DNDEBUG
    2631
    2732
     33
     34# Object files. All objects should be prefixed with $(OBJDIR)!
     35OBJS= \
     36$(OBJDIR)\dict.obj \
     37$(OBJDIR)\memalloc.obj \
     38$(OBJDIR)\mesh.obj \
     39$(OBJDIR)\normal.obj \
     40$(OBJDIR)\priorityq.obj \
     41$(OBJDIR)\render.obj \
     42$(OBJDIR)\sweep.obj \
     43$(OBJDIR)\tess.obj \
     44$(OBJDIR)\tessmono.obj \
     45$(OBJDIR)\geom.obj
     46
     47
     48# Target name - name of the library without extention and path.
     49TARGET = tess
     50
     51
     52# Create all libraries (not importlibraries)
     53all:    $(OBJDIR) \
     54        $(OBJDIR)\$(TARGET).lib
     55
     56
     57# Create all libraries (not importlibraries)
     58libs: all
     59
     60
     61# Lib rule - build importlibrary (and evt. other libs)
     62$(OBJDIR)\$(TARGET).lib: $(OBJS)
     63    $(RM) $@
     64    $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
     65
     66
     67# Dep rule - makes depenencies for C, C++ and Asm files.
    2868dep:
    2969    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
    3070        ..\..\mesa\*.h ..\*.h ..\include\*.h
    3171
    32 !ifndef NODEP
    33 !include .depend
    34 !endif
    3572
     73# Includes the common rules.
     74!include $(PDWIN32_INCLUDE)/pdwin32.post
    3675
    37 clean:
    38     $(RM) *.obj
Note: See TracChangeset for help on using the changeset viewer.