Changeset 4624 for trunk/src/ddraw
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/makefile
r3864 r4624 1 # $Id: makefile,v 1.2 4 2000-07-19 19:05:05 sandervlExp $1 # $Id: makefile,v 1.25 2000-11-19 09:20:50 bird Exp $ 2 2 # 3 3 # ddraw.dll makefile … … 10 10 # 11 11 12 # Directory macros.13 PDWIN32_INCLUDE = ..\..\include14 PDWIN32_LIB = ..\..\lib15 PDWIN32_BIN = ..\..\$(OBJDIR)16 PDWIN32_TOOLS = ..\..\tools\bin17 12 18 13 14 # 19 15 # Compiler, tools, and interference rules. 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 # 17 !include ../../include/pdwin32.mk 21 18 22 19 23 # Flag overloads and local macros. 24 CLEANEXTRAS = ddrawrsrc.asm 25 ASFLAGS = -Sc -Sv:ALP 26 27 28 # Object files. All objects should be prefixed with $(OBJDIR)! 20 # 21 # Object files. Prefix with OBJDIR and one space before the '\'. 22 # 29 23 OBJS = \ 30 24 $(OBJDIR)\ddraw.obj \ … … 46 40 47 41 42 # 43 # Libraries. One space before the '\'. 44 # 45 LIBS = \ 46 $(PDWIN32_LIB)/ole32.lib \ 47 $(PDWIN32_LIB)/advapi32.lib \ 48 $(PDWIN32_LIB)/gdi32.lib \ 49 $(PDWIN32_LIB)/comctl32.lib \ 50 $(PDWIN32_LIB)/kernel32.lib \ 51 $(PDWIN32_LIB)/$(ODINCRT).lib \ 52 $(PDWIN32_LIB)/user32.lib \ 53 mmpm2.lib \ 54 os2386.lib \ 55 $(RTLLIB_O) 56 57 58 # 48 59 # Target name - name of the dll without extention and path. 60 # 49 61 TARGET = ddraw 50 62 51 63 52 # All rule - build objs, target dll, copies dll to bin and makes libs. 53 all: $(OBJDIR) \ 54 $(OBJDIR)\$(TARGET).dll \ 55 $(PDWIN32_BIN)\$(TARGET).dll \ 56 lib 57 58 59 # Lib rule - build importlibrary (and evt. other libs) 60 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 61 62 63 # Dll rule - builds the target dll. 64 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 65 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 66 67 68 # Linker file - creates the parameter file passed on to the linker. 69 $(OBJDIR)\$(TARGET).lrf: makefile 70 @echo Creating file <<$@ 71 /OUT:$(OBJDIR)\$(TARGET).dll 72 /MAP:$(OBJDIR)\$(TARGET).map 73 $(OBJS) 74 $(PDWIN32_LIB)/ole32.lib 75 $(PDWIN32_LIB)/advapi32.lib 76 $(PDWIN32_LIB)/gdi32.lib 77 $(PDWIN32_LIB)/comctl32.lib 78 $(PDWIN32_LIB)/kernel32.lib 79 $(PDWIN32_LIB)/$(ODINCRT).lib 80 $(PDWIN32_LIB)/user32.lib 81 mmpm2.lib 82 OS2386.LIB 83 $(RTLLIB_O) 84 $(TARGET).def 85 <<keep 86 87 88 # Dep rule - makes depenencies for C, C++ and Asm files. 89 dep: 90 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 91 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 92 93 64 # 94 65 # Includes the common rules. 66 # 95 67 !include $(PDWIN32_INCLUDE)/pdwin32.post 96 68
Note:
See TracChangeset
for help on using the changeset viewer.