Changeset 4620 for trunk/tools/SDF
- Timestamp:
- Nov 19, 2000, 9:35:50 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/SDF/makefile
r4332 r4620 1 # $Id: makefile,v 1. 2 2000-09-28 03:06:27bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:25:50 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # include common definitions 11 # 12 # Directory macros. 13 # 12 14 PDWIN32_INCLUDE = ..\..\include 15 PDWIN32_LIB = ..\..\lib 16 PDWIN32_BIN = ..\bin 13 17 PDWIN32_TOOLS = ..\bin 18 PDWIN32_TCOMMON = ..\common 19 20 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 27 28 29 # 30 # Compiler, tools, and interference rules. 31 # 14 32 !include $(PDWIN32_INCLUDE)\pdwin32.mk 33 !include $(PDWIN32_TCOMMON)\common.mk 15 34 16 # Addjust common definitions 17 CINCLUDES= -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win -I..\common 18 !ifdef DEBUG 19 CFLAGS = $(CFLAGS) -Ge+ -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 20 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 21 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 22 !else 23 CFLAGS = $(CFLAGS) -Ge+ -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 24 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 25 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 35 36 # 37 # Flag overrides. 38 # 39 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 40 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- 41 CXXFLAGS = $(CXXFLAGS) -Gx- -Wall+ppt-ppc-inl-cnv-gnr-vft- 26 42 !endif 27 43 28 44 29 30 all: sdf.exe ..\bin\sdf.exe 31 32 33 sdf.exe: sdf.obj ..\common\commonicc.lib 34 $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib 35 36 ..\bin\sdf.exe: sdf.exe 37 $(CP) $** $@ 38 39 dep: 40 $(DEPEND) $(CINCLUDES) -I *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 41 *.c *.cpp 42 43 clean: 44 @$(RM) *.obj *.exe *.map *.pch *.log 45 # 46 # Object files. Prefix with OBJDIR and one space before the '\'. 47 # 48 OBJS= \ 49 $(OBJDIR)\sdf.obj 45 50 46 51 47 52 # 48 # Include the .depend file. 49 # If the depend file don't exists we'll complain about it. 53 # Libraries. One space before the '\'. 50 54 # 51 !ifndef NODEP 52 ! if [$(EXISTS) .depend] == 0 53 ! include .depend 54 ! else 55 ! if [$(ECHO) .depend doesn't exist] 56 ! endif 57 ! endif 58 !endif 55 LIBS = \ 56 $(COMMONLIB) \ 57 $(RTLLIB) \ 58 os2386.lib 59 59 60 61 # 62 # Target name - name of the exe without extention and path. 63 # 64 TARGET = sdf 65 66 67 # 68 # Includes the common rules. 69 # 70 !include $(PDWIN32_INCLUDE)\pdwin32.post 71 !include $(PDWIN32_TCOMMON)\common.mk.post 72
Note:
See TracChangeset
for help on using the changeset viewer.