Changeset 4717 for trunk/src/ddraw/new
- Timestamp:
- Dec 3, 2000, 12:45:13 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/new/makefile
r3345 r4717 1 # $Id: makefile,v 1.1 2000-04-07 18:21:13 mike Exp $ 1 # $Id: makefile,v 1.2 2000-12-02 23:38:54 bird Exp $ 2 2 3 # 3 # ddraw.dll makefile4 # Odin32 API 4 5 # 5 # Copyright 1998 Sander van Leeuwen 6 # 1999 Markus Montkowski 7 # 8 # Project Odin Software License can be found in LICENSE.TXT 9 # 6 # ddraw.dll makefile 10 7 # 11 8 12 # Directory macros. 13 PDWIN32_INCLUDE = ..\..\..\include 14 PDWIN32_LIB = ..\..\..\lib 15 PDWIN32_BIN = ..\..\..\$(OBJDIR) 16 PDWIN32_TOOLS = ..\..\..\tools\bin 9 10 # 11 # Compiler, tools, and interference rules. 12 # 13 !include ../../../makefile.inc 17 14 18 15 19 # Compiler, tools, and interference rules. 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 22 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)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 29 19 OBJS = \ 30 20 $(OBJDIR)\ddraw.obj \ … … 47 37 48 38 39 # 40 # Libraries. One space before the '\'. 41 # 42 LIBS = \ 43 $(ODIN32_LIB)/ole32.lib \ 44 $(ODIN32_LIB)/advapi32.lib \ 45 $(ODIN32_LIB)/gdi32.lib \ 46 $(ODIN32_LIB)/comctl32.lib \ 47 $(ODIN32_LIB)/kernel32.lib \ 48 $(ODIN32_LIB)/$(ODINCRT).lib \ 49 $(ODIN32_LIB)/user32.lib \ 50 mmpm2.lib \ 51 OS2386.LIB \ 52 $(RTLLIB_O) 53 54 55 # 49 56 # Target name - name of the dll without extention and path. 57 # 50 58 TARGET = ddraw 51 59 52 60 53 # All rule - build objs, target dll, copies dll to bin and makes libs. 54 all: $(OBJDIR) \ 55 $(OBJDIR)\$(TARGET).dll \ 56 $(PDWIN32_BIN)\$(TARGET).dll \ 57 lib 61 # 62 # Includes the common rules. 63 # 64 !include $(ODIN32_POST_INC) 58 65 59 60 # Lib rule - build importlibrary (and evt. other libs)61 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib62 63 64 # Dll rule - builds the target dll.65 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf66 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf67 68 69 # Linker file - creates the parameter file passed on to the linker.70 $(OBJDIR)\$(TARGET).lrf: makefile71 @echo Creating file <<$@72 /OUT:$(OBJDIR)\$(TARGET).dll73 /MAP:$(OBJDIR)\$(TARGET).map74 $(OBJS)75 $(PDWIN32_LIB)/ole32.lib76 $(PDWIN32_LIB)/advapi32.lib77 $(PDWIN32_LIB)/gdi32.lib78 $(PDWIN32_LIB)/comctl32.lib79 $(PDWIN32_LIB)/kernel32.lib80 $(PDWIN32_LIB)/odincrt.lib81 $(PDWIN32_LIB)/user32.lib82 mmpm2.lib83 OS2386.LIB84 $(RTLLIB_O)85 $(TARGET).def86 <<keep87 88 89 # Dep rule - makes depenencies for C, C++ and Asm files.90 dep:91 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \92 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h93 94 95 # Includes the common rules.96 !include $(PDWIN32_INCLUDE)/pdwin32.post97
Note:
See TracChangeset
for help on using the changeset viewer.