Ignore:
Timestamp:
Mar 7, 2000, 12:39:20 AM (25 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/util/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/util 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
    1723
    18 CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
    19 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE)  -Tdp -DNDEBUG
     24# Flag overloads and local macros.
     25CLEANEXTRAS =
    2026
    21 OBJS= error.obj glue.obj mipmap.obj project.obj quad.obj registry.obj
    22 
    23 all: $(OBJS)
     27CINCLUDE    = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
     28CFLAGS      = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
     29CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)  -Tdp -DNDEBUG
    2430
    2531
     32# Object files. All objects should be prefixed with $(OBJDIR)!
     33OBJS = \
     34$(OBJDIR)\error.obj \
     35$(OBJDIR)\glue.obj \
     36$(OBJDIR)\mipmap.obj \
     37$(OBJDIR)\project.obj \
     38$(OBJDIR)\quad.obj \
     39$(OBJDIR)\registry.obj
     40
     41
     42# Target name - name of the library without extention and path.
     43TARGET = util
     44
     45
     46# Create all libraries (not importlibraries)
     47all:    $(OBJDIR) \
     48        $(OBJDIR)\$(TARGET).lib
     49
     50
     51# Create all libraries (not importlibraries)
     52libs: all
     53
     54
     55# Lib rule - build importlibrary (and evt. other libs)
     56$(OBJDIR)\$(TARGET).lib: $(OBJS)
     57    $(RM) $@
     58    $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
     59
     60
     61# Dep rule - makes depenencies for C, C++ and Asm files.
    2662dep:
    2763    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
    2864        ..\include\*.h ..\..\mesa\*.h ..\*.h
    2965
    30 !ifndef NODEP
    31 !include .depend
    32 !endif
    3366
     67# Includes the common rules.
     68!include $(PDWIN32_INCLUDE)/pdwin32.post
    3469
    35 clean:
    36     $(RM) *.obj *.lib *.map
Note: See TracChangeset for help on using the changeset viewer.