Changeset 4620 for trunk/tools/impdef
- Timestamp:
- Nov 19, 2000, 9:35:50 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/tools/impdef/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/impdef/makefile
r4427 r4620 1 # $Id: makefile,v 1. 5 2000-10-05 07:28:39bird Exp $1 # $Id: makefile,v 1.6 2000-11-19 08:26:52 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # 11 12 # Directory macros. 13 # 12 14 PDWIN32_INCLUDE = ..\..\include 13 PDWIN32_BIN = ..\..\bin\$(OBJDIR)14 15 PDWIN32_LIB = ..\..\lib 16 PDWIN32_BIN = ..\bin 15 17 PDWIN32_TOOLS = ..\bin 16 18 PDWIN32_TCOMMON = ..\common 17 19 18 20 19 # Defines for the pdwin32.post and pdwin32.mk 20 LOCALCLEAN = 1 21 CLEANEXTRAS = $(PDWIN32_TOOLS)\impdef.exe *.log 22 EXETARGET = 1 21 # 22 # Tell buildenvironment that we're makeing an .exe. 23 # Tell buildenvironment that we should not copy this into /bin. 24 # 25 EXETARGET = 1 26 NO_MAIN_BIN_COPY = 1 23 27 24 28 29 # 25 30 # Compiler, tools, and interference rules. 31 # 26 32 !include $(PDWIN32_INCLUDE)\pdwin32.mk 27 33 !include $(PDWIN32_TCOMMON)\common.mk 28 34 29 35 30 31 # Flag overloads and local macros. 32 CINCLUDES= -I$(PDWIN32_TCOMMON) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\Win 33 CFLAGS = $(CFLAGS) $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 34 CXXFLAGS = $(CXXFLAGS) $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gx- 36 # 37 # Flag overrides. 38 # 39 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 40 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- 41 CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gx- 42 !endif 35 43 36 44 37 # Object files. All objects should be prefixed with $(OBJDIR)! 45 # 46 # Object files. Prefix with OBJDIR and one space before the '\'. 47 # 38 48 OBJS= \ 39 49 $(OBJDIR)\ImpDef.obj 40 50 41 51 42 # All rule - build objs, target dll, copies dll to bin and makes libs. 43 all: $(OBJDIR) \ 44 $(PDWIN32_TOOLS)\ImpDef.exe 52 # 53 # Libraries. One space before the '\'. 54 # 55 LIBS = \ 56 $(COMMONLIB) \ 57 $(RTLLIB) \ 58 os2386.lib 45 59 46 60 47 $(OBJDIR)\ImpDef.exe: $(OBJS) $(COMMONLIB) 48 $(LD) $(LDFLAGS) -Fe$@ $** $(RTLLIB) os2386.lib 49 50 $(PDWIN32_TOOLS)\ImpDef.exe: $(OBJDIR)\ImpDef.exe 51 $(CP) $** $@ 61 # 62 # Target name - name of the exe without extention and path. 63 # 64 TARGET = ImpDef 52 65 53 66 54 # Dep rule - makes depenencies for C, C++ and Asm files. 55 dep: 56 $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 57 *.c *.cpp 58 59 60 # Include common rules 67 # 68 # Includes the common rules. 69 # 61 70 !include $(PDWIN32_INCLUDE)\pdwin32.post 62 71 !include $(PDWIN32_TCOMMON)\common.mk.post 72
Note:
See TracChangeset
for help on using the changeset viewer.
