Changeset 4620 for trunk/tools/install
- Timestamp:
- Nov 19, 2000, 9:35:50 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/install/makefile
r3880 r4620 1 # $Id: makefile,v 1.3 2000-11-19 08:26:36 bird Exp $ 2 1 3 # 2 4 # PD-Win32 API 3 5 # 6 # odininst.exe makefile 4 7 # 5 8 6 # Tell that we're producing an executable 9 10 # 11 # Tell that we're producing an executable. 12 # 7 13 EXETARGET = 1 8 14 9 PDWIN32_INCLUDE = ..\..\include10 PDWIN32_LIB = ..\..\lib11 PDWIN32_BIN = ..\..\$(OBJDIR)12 PDWIN32_TOOLS = ..\bin13 15 14 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 # 17 # Compiler, tools, and interference rules. 18 # 19 !include ../../include/pdwin32.mk 15 20 21 22 # 23 # Overrides 24 # 25 LD2FLAGS = $(LD2FLAGS_ODINCRT) /PMTYPE:pm /STACK:0x100000 /NOBASE 26 27 28 # 29 # Object files. Prefix with OBJDIR and one space before the '\'. 30 # 31 OBJS = \ 32 $(OBJDIR)\odininst.obj 33 34 35 # 36 # Libraries. One space before the '\'. 37 # 38 LIBS = \ 39 os2386.lib \ 40 $(PDWIN32_LIB)\kernel32.lib 41 42 43 # 44 # Target name - name of the exe without extention and path. 45 # 16 46 TARGET = odininst 17 47 18 all: $(OBJDIR) \19 $(OBJDIR)\$(TARGET).exe \20 $(PDWIN32_BIN)\$(TARGET).exe21 48 22 # Flag overloads and local macros. 23 CLEANEXTRAS = $(PDWIN32_BIN)\$(TARGET).exe 49 # 50 # Includes the common rules. 51 # 52 !include $(PDWIN32_INCLUDE)\pdwin32.post 24 53 25 # Object files. All objects should be prefixed with $(OBJDIR)!26 OBJS = $(OBJDIR)\odininst.obj27 28 29 # Lib rule - dummy rule.30 lib:31 32 33 # Exe rule - builds the target exe.34 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(OBJDIR)\$(TARGET).lrf35 $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf36 37 # Linker file - creates the parameter file passed on to the linker.38 $(OBJDIR)\$(TARGET).lrf: makefile39 @echo Creating file <<$@40 /OUT:$(OBJDIR)\$(TARGET).exe41 /MAP:$(OBJDIR)\$(TARGET).map42 /PMTYPE:pm43 /STACK:0x10000044 /NOBASE45 $(OBJS)46 os2386.lib47 $(PDWIN32_LIB)\kernel32.lib48 <<keep49 50 51 # Dep rule - makes depenencies for C, C++ and Asm files.52 dep:53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h55 56 57 # Includes the common rules.58 !include $(PDWIN32_INCLUDE)/pdwin32.post
Note:
See TracChangeset
for help on using the changeset viewer.