Changeset 4624 for trunk/src/riched32
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/riched32/makefile
r3864 r4624 1 # $Id: makefile,v 1. 2 2000-07-19 19:05:21 sandervlExp $1 # $Id: makefile,v 1.3 2000-11-19 08:51:27 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 # Directory macros. 10 PDWIN32_INCLUDE = ..\..\include 11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 9 10 # 11 # Compiler, tools, and interference rules. 12 # 13 !include ../../include/pdwin32.mk 14 14 15 15 16 # Compiler, tools, and interference rules. 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 # 17 # Overrides. 18 # 19 CDEFINES = $(CDEFINES) -DWIN32 -DSTDARG -DTHINK_C 18 20 19 21 20 # Flag overloads and local macros. 21 CLEANEXTRAS = twain_32rsrc.asm 22 23 CFLAGS = $(CFLAGS) -DWIN32 24 CXXFLAGS = $(CXXFLAGS) -DWIN32 25 26 27 # Object files. All objects should be prefixed with $(OBJDIR)! 22 # 23 # Object files. Prefix with OBJDIR and one space before the '\'. 24 # 28 25 OBJS = \ 29 26 $(OBJDIR)\reader.obj \ … … 35 32 36 33 34 # 35 # Libraries. One space before the '\'. 36 # 37 LIBS = \ 38 $(PDWIN32_LIB)/kernel32.lib \ 39 $(PDWIN32_LIB)/user32.lib \ 40 $(PDWIN32_LIB)/$(ODINCRT).lib \ 41 OS2386.LIB \ 42 $(RTLLIB_O) 43 44 45 # 37 46 # Target name - name of the dll without extention and path. 47 # 38 48 TARGET = riched32 39 49 40 50 41 CFLAGS = $(CFLAGS) -DSTDARG -DTHINK_C 42 CXXFLAGS = $(CXXFLAGS) -DSTDARG -DTHINK_C 43 44 # All rule - build objs, target dll, copies dll to bin and makes libs. 45 all: $(OBJDIR) \ 46 $(OBJDIR)\$(TARGET).dll \ 47 $(PDWIN32_BIN)\$(TARGET).dll \ 48 lib 49 50 51 # Lib rule - build importlibrary (and evt. other libs) 52 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 53 54 55 # Dll rule - builds the target dll. 56 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 57 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 58 59 60 # Linker file - creates the parameter file passed on to the linker. 61 $(OBJDIR)\$(TARGET).lrf: makefile 62 @echo Creating file <<$@ 63 /OUT:$(OBJDIR)\$(TARGET).dll 64 /MAP:$(OBJDIR)\$(TARGET).map 65 $(OBJS) 66 $(PDWIN32_LIB)/kernel32.lib 67 $(PDWIN32_LIB)/user32.lib 68 $(PDWIN32_LIB)/$(ODINCRT).lib 69 OS2386.LIB 70 $(RTLLIB_O) 71 $(TARGET).def 72 <<keep 73 74 75 # Dep rule - makes depenencies for C, C++ and Asm files. 76 dep: 77 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 78 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 79 80 51 # 81 52 # Includes the common rules. 53 # 82 54 !include $(PDWIN32_INCLUDE)/pdwin32.post 83 55
Note:
See TracChangeset
for help on using the changeset viewer.