Changeset 4624 for trunk/src/opengl/glu/nurbs/internals
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/opengl/glu/nurbs/internals/makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glu/nurbs/internals/makefile
r4308 r4624 1 # $Id: makefile,v 1. 5 2000-09-22 10:43:31bird Exp $1 # $Id: makefile,v 1.6 2000-11-19 08:58:14 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\..\lib … … 14 17 15 18 16 # Local cleanup only. 17 LOCALCLEAN = 1 19 # 20 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 21 # 22 LIBTARGET = 1 23 ADDITIONAL_DEP = mydep 18 24 19 25 26 # 20 27 # Compiler, tools, and interference rules. 28 # 21 29 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 28 CDEFS = -DSTANDALONE -DLIBRARYBUILD -DNDEBUG 29 30 CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS) -O- 31 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) $(CDEFS) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 36 CDEFINES = $(CDEFINES) -DSTANDALONE -DLIBRARYBUILD -DNDEBUG 37 CFLAGS = $(CFLAGS) -O- 32 38 33 39 34 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 35 43 OBJS = \ 36 44 $(OBJDIR)\arc.obj \ … … 59 67 $(OBJDIR)\mesher.obj \ 60 68 $(OBJDIR)\monotonizer.obj \ 61 $(OBJDIR)\mycode.obj 62 63 OBJS2 = \ 69 $(OBJDIR)\mycode.obj \ 64 70 $(OBJDIR)\nurbsinterfac.obj \ 65 71 $(OBJDIR)\nurbstess.obj \ … … 83 89 84 90 91 # 85 92 # Target name - name of the library without extention and path. 93 # 86 94 TARGET = internals 87 95 88 96 89 # Create all libraries (not importlibraries) 90 all: $(OBJDIR) \ 91 $(OBJDIR)\$(TARGET).lib 97 # 98 # Includes the common rules. 99 # 100 !include $(PDWIN32_INCLUDE)/pdwin32.post 92 101 93 102 94 # Create all libraries (not importlibraries) 95 libs: all 96 97 98 # Lib rule - build importlibrary (and evt. other libs) 99 $(OBJDIR)\$(TARGET).lib: $(OBJS) $(OBJS2) 100 $(RM) $@ 101 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 102 $(ILIB) $(ILIBFLAGS) $@ $(OBJS2); 103 104 105 # Dep rule - makes depenencies for C, C++ and Asm files. 106 dep: 107 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 103 # 104 # Additional dep rule - adds dependencies for some additional headers. 105 # 106 mydep: 107 $(DEPEND) -a $(CINCLUDES) \ 108 108 ..\nurbtess\*.h ..\..\..\mesa\GL\*.h ..\..\include\*.h 109 109 110 111 # Includes the common rules.112 !include $(PDWIN32_INCLUDE)/pdwin32.post113
Note:
See TracChangeset
for help on using the changeset viewer.
