Changeset 4624 for trunk/src/opengl/glu/util
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glu/util/makefile
r3031 r4624 1 # $Id: makefile,v 1. 4 2000-03-06 23:33:50bird Exp $1 # $Id: makefile,v 1.5 2000-11-19 08:58:15 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.. -I..\..\mesa -I..\include -I..\..\mesa\GL 28 CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL 36 CDEFINES = $(CDEFINES) -DNDEBUG 37 CFLAGS = $(CFLAGS) -Tdp 38 CXXFLAGS = $(CXXFLAGS) -Tdp 39 !ifdef WAT 40 !error "Compiler not supported yet!" 41 !endif 30 42 31 43 32 # Object files. All objects should be prefixed with $(OBJDIR)! 44 # 45 # Object files. Prefix with OBJDIR and one space before the '\'. 46 # 33 47 OBJS = \ 34 48 $(OBJDIR)\error.obj \ … … 40 54 41 55 56 # 42 57 # Target name - name of the library without extention and path. 58 # 43 59 TARGET = util 44 60 45 61 46 # Create all libraries (not importlibraries) 47 all: $(OBJDIR) \ 48 $(OBJDIR)\$(TARGET).lib 62 # 63 # Includes the common rules. 64 # 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 66 50 67 51 # Create all libraries (not importlibraries) 52 libs: 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. 62 dep: 63 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 68 # 69 # Additional dep rule - adds dependencies for some additional headers. 70 # 71 mydep: 72 $(DEPEND) -a $(CINCLUDES) \ 64 73 ..\include\*.h ..\..\mesa\*.h ..\*.h 65 74 66 67 # Includes the common rules.68 !include $(PDWIN32_INCLUDE)/pdwin32.post69
Note:
See TracChangeset
for help on using the changeset viewer.