Changeset 3031 for trunk/src/opengl/glu/util
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (25 years ago)
- 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 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 6 # glu/util makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\tools\bin11 PDWIN32_LIB = ..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\..\..\tools\bin 12 14 13 15 16 # Local cleanup only. 17 LOCALCLEAN = 1 18 19 20 # Compiler, tools, and interference rules. 14 21 !include $(PDWIN32_INCLUDE)/pdwin32.mk 15 22 16 CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include -I..\..\mesa\GL17 23 18 CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 19 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE) -Tdp -DNDEBUG24 # Flag overloads and local macros. 25 CLEANEXTRAS = 20 26 21 OBJS= error.obj glue.obj mipmap.obj project.obj quad.obj registry.obj 22 23 all: $(OBJS) 27 CINCLUDE = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL 28 CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 24 30 25 31 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 OBJS = \ 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. 43 TARGET = util 44 45 46 # Create all libraries (not importlibraries) 47 all: $(OBJDIR) \ 48 $(OBJDIR)\$(TARGET).lib 49 50 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. 26 62 dep: 27 63 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 28 64 ..\include\*.h ..\..\mesa\*.h ..\*.h 29 65 30 !ifndef NODEP31 !include .depend32 !endif33 66 67 # Includes the common rules. 68 !include $(PDWIN32_INCLUDE)/pdwin32.post 34 69 35 clean:36 $(RM) *.obj *.lib *.map
Note:
See TracChangeset
for help on using the changeset viewer.