Changeset 4712 for trunk/tools/regedit
- Timestamp:
- Dec 3, 2000, 12:27:03 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/tools/regedit/makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/regedit/makefile
r3424 r4712 1 # $Id: makefile,v 1.2 2000-12-02 23:27:03 bird Exp $ 2 1 3 # 2 # PD-Win32 API4 # Odin32 API 3 5 # 6 # Makefile for regedit.exe. 4 7 # 5 8 6 PDWIN32_INCLUDE = ..\..\include7 PDWIN32_LIB = ..\..\lib8 PDWIN32_BIN = ..\..\bin9 9 10 !include $(PDWIN32_INCLUDE)/pdwin32.mk 11 12 PROJ = regedit 13 14 all: $(PROJ).exe 15 16 # Define project specific macros 17 PROJ_OBJS = regapi.obj 18 BASE_OBJS = odinexe.obj 10 # 11 # Directory macros. 12 # 13 ODIN32_BIN = $(ODIN32_TOOLS) 19 14 20 15 21 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 22 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 16 # 17 # Tell buildenvironment that we're making an .exe. 18 # Tell buildenvironment that we like to use static linked CRT. 19 # Tell buildenvironment that we should not copy this into /bin. 20 # 21 EXETARGET = 1 22 NO_MAIN_BIN_COPY = 1 23 23 24 CFLAGS = $(CFLAGS) /Ge+ -I$(PDWIN32_INCLUDE) 25 CXXFLAGS = $(CXXFLAGS) /Ge+ -I$(PDWIN32_INCLUDE) 26 LDFLAGSEXE = $(LDFLAGS) /Ge+ /B"/pmtype:pm /stack:0x30000 /NOBASE /Map" \ 27 $(EXTRA_LIBS) $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib \ 28 $(PDWIN32_LIB)\gdi32.lib os2386.lib $(PDWIN32_LIB)\odincrt.lib $(RTLLIB_O) 24 25 # 26 # Compiler, tools, and interference rules. 27 # 28 !include ../../makefile.inc 29 30 31 # 32 # Set Win32APP flags. 33 # 34 CFLAGS = $(CFLAGS_WIN32APP) 35 CXXFLAGS = $(CXXFLAGS_WIN32APP) 36 CDEFINES = $(CDEFINES_WIN32APP) 37 #LD2FLAGS = $(LD2FLAGS_WIN32APP) 38 39 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 43 OBJS= \ 44 $(OBJDIR)\regapi.obj \ 45 $(OBJDIR)\odinexe.obj 46 47 48 # 49 # Libraries. One space before the '\'. 50 # 51 LIBS = \ 52 $(ODIN32_LIB)\kernel32.lib \ 53 $(ODIN32_LIB)\advapi32.lib \ 54 $(ODIN32_LIB)\user32.lib \ 55 $(ODIN32_LIB)\gdi32.lib \ 56 $(ODIN32_LIB)\$(ODINCRT).lib \ 57 os2386.lib \ 58 $(RTLLIB_O) 59 60 61 # 62 # Target name - name of the exe without extention and path. 63 # 64 TARGET = regedit 65 66 67 # 68 # Includes the common rules. 69 # 70 !include $(ODIN32_POST_INC) 71 72 73 74 75 #CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(ODIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 76 #CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(ODIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 77 #CFLAGS = $(CFLAGS) /Ge+ -I$(ODIN32_INCLUDE) 78 #CXXFLAGS = $(CXXFLAGS) /Ge+ -I$(ODIN32_INCLUDE) 79 #LDFLAGSEXE = $(LDFLAGS) /Ge+ /B"/pmtype:pm /stack:0x30000 /NOBASE /Map" \ 80 # $(EXTRA_LIBS) $(ODIN32_LIB)\kernel32.lib $(ODIN32_LIB)\user32.lib \ 81 # $(ODIN32_LIB)\gdi32.lib os2386.lib $(ODIN32_LIB)\odincrt.lib $(RTLLIB_O) 29 82 30 83 # Build rule for EXE 31 $(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS) 32 $(LD) $(LDFLAGSEXE) -Fe$@ $(PROJ_OBJS) $(BASE_OBJS)84 #$(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS) 85 # $(LD) $(LDFLAGSEXE) -Fe$@ $(PROJ_OBJS) $(BASE_OBJS) 33 86 34 87 # Rules for cleaning out those old files 35 clean:36 del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc88 #clean: 89 # del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc
Note:
See TracChangeset
for help on using the changeset viewer.
