Changeset 4624 for trunk/src/opengl/glut
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/Makefile
r3864 r4624 1 # $Id: Makefile,v 1.1 5 2000-07-19 19:05:15 sandervlExp $1 # $Id: Makefile,v 1.16 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 19 # 20 # Tell buildenvironmet to invoke additional dep rule. 21 # 22 ADDITIONAL_DEP = mydep 23 24 25 # 16 26 # Compiler, tools, and interference rules. 27 # 17 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 29 19 30 20 # Flag overloads and local macros. 21 CLEANEXTRAS = 32rsrc.asm 22 23 CFLAGS = -I..\mesa\GL -I..\glu $(CFLAGS_WIN32APP) -I..\mesa 24 CXXFLAGS = -I..\mesa\GL -I..\glu $(CXXFLAGS_WIN32APP) -I..\mesa 31 # 32 # Overrides 33 # 34 CINCLUDES = -I..\mesa\GL -I..\glu $(CINCLUDES) -I..\mesa 35 CDEFINES = $(CDEFINES_WIN32APP) 36 CFLAGS = $(CFLAGS_WIN32APP) 37 CXXFLAGS = $(CXXFLAGS_WIN32APP) 25 38 26 39 27 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 28 43 OBJS = \ 29 44 $(OBJDIR)\glut_8x13.obj \ … … 79 94 80 95 81 # Target name - name of the dll without extention and path. 82 TARGET = glut32 96 # 97 # Libraries. One space before the '\'. 98 # 99 LIBS = \ 100 $(PDWIN32_LIB)/$(ODINCRT).lib \ 101 $(RTLLIB_O) \ 102 $(PDWIN32_LIB)\winmm.lib \ 103 $(PDWIN32_LIB)\kernel32.lib \ 104 $(PDWIN32_LIB)\gdi32.lib \ 105 $(PDWIN32_LIB)\user32.lib \ 106 $(PDWIN32_LIB)\glu32.lib \ 107 $(PDWIN32_LIB)\opengl32.lib \ 108 os2386.lib 83 109 84 110 85 # All rule - build objs, target dll, copies dll to bin and makes libs. 86 all: $(OBJDIR) \ 87 $(OBJDIR)\$(TARGET).dll \ 88 $(PDWIN32_BIN)\$(TARGET).dll \ 89 lib 111 # 112 # Target name - name of the dll without extention and path. 113 # 114 TARGET = glut32 90 115 91 116 92 # Lib rule - build importlibrary (and evt. other libs) 93 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 117 # 118 # Includes the common rules. 119 # 120 !include $(PDWIN32_INCLUDE)/pdwin32.post 94 121 95 122 96 # Dll rule - builds the target dll. 97 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 98 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 99 100 101 # Linker file - creates the parameter file passed on to the linker. 102 $(OBJDIR)\$(TARGET).lrf: makefile 103 @echo Creating file <<$@ 104 /OUT:$(OBJDIR)\$(TARGET).dll 105 /MAP:$(OBJDIR)\$(TARGET).map 106 $(OBJS) 107 $(PDWIN32_LIB)/$(ODINCRT).lib 108 $(RTLLIB_O) 109 $(PDWIN32_LIB)\WINMM.LIB 110 $(PDWIN32_LIB)\KERNEL32.LIB 111 $(PDWIN32_LIB)\GDI32.LIB 112 $(PDWIN32_LIB)\USER32.LIB 113 $(PDWIN32_LIB)\GLU32.LIB 114 $(PDWIN32_LIB)\OPENGL32.LIB 115 OS2386.LIB 116 $(TARGET).def 117 <<keep 118 119 120 # Dep rule - makes depenencies for C, C++ and Asm files. 121 dep: 122 $(DEPEND) -I..\mesa\GL -I..\glu -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa \ 123 # 124 # Additional dep rule - adds dependencies for some additional headers. 125 # 126 mydep: 127 $(DEPEND) -a $(CINCLUDES) \ 123 128 *.c *.cpp *.asm *.inc $(PDWIN32_INCLUDE)\*.h ..\mesa\gl\*.h 124 129 125 126 # Includes the common rules.127 !include $(PDWIN32_INCLUDE)/pdwin32.post128
Note:
See TracChangeset
for help on using the changeset viewer.