Changeset 4620 for trunk/tools/fastdep


Ignore:
Timestamp:
Nov 19, 2000, 9:35:50 AM (25 years ago)
Author:
bird
Message:

New makefile style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/fastdep/makefile

    r3132 r4620  
    1 # $Id: makefile,v 1.5 2000-03-16 23:51:26 bird Exp $
     1# $Id: makefile,v 1.6 2000-11-19 08:27:21 bird Exp $
    22
    33#
     
    99
    1010
     11#
     12# Tell buildenvironment that we're makeing an .exe.
     13# Tell buildenvironment that we should not copy this into /bin.
     14#
     15EXETARGET = 1
     16NO_MAIN_BIN_COPY = 1
     17
     18
     19#
    1120# include common definitions
     21#
    1222PDWIN32_INCLUDE = ..\..\include
     23PDWIN32_TOOLS   = ..\bin
     24PDWIN32_BIN     = ..\bin
     25PDWIN32_LIB     = ..\..\lib
    1326!include $(PDWIN32_INCLUDE)\pdwin32.mk
    1427
     28
     29#
    1530# Addjust common definitions
     31#
     32!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
     33CFLAGS   = $(CFLAGS) -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- \
    1634!ifdef DEBUG
    17 CFLAGS   = $(CFLAGS)  -Ge+ -Tx+ -I..\common \
    18            -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -O+ -Tm-
    19 #          -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -Gh+ -Tm- #-O+
    20 LDFLAGS  = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full"
    21 !else
    22 CFLAGS   = $(CFLAGS)  -Ge+ -Tx+ -I..\common      \
    23            -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext-
    24 LDFLAGS  = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full"
     35        -O+ -Tm-
     36!endif
    2537!endif
    2638
    2739
    28 
    29 all: fastdep.exe ..\bin\fastdep.exe
     40#
     41# Object files. Prefix with OBJDIR and one space before the '\'.
     42#
     43OBJS = \
     44$(OBJDIR)\fastdep.obj \
     45$(OBJDIR)\avl.obj
    3046
    3147
    32 fastdep.exe: fastdep.obj avl.obj
    33     $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib
    34 #   $(LD) $(LDFLAGS) $** CPPOPA3.OBJ $(RTLLIB) _DOSCALL.LIB os2386.lib
    35 
    36 ..\bin\fastdep.exe: fastdep.exe
    37    $(CP) $** $@
     48#
     49# Libraries. One space before the '\'.
     50#
     51LIBS = \
     52$(RTLLIB) \
     53os2386.lib
    3854
    3955
    40 dep: # dummy rule
     56#
     57# Target name - name of the exe without extention and path.
     58#
     59TARGET = FastDep
    4160
    4261
    43 clean:
    44    -@$(RM) *.obj *.exe *.map *.pch *.log ..\bin\fastdep.exe
     62#
     63# Includes the common rules.
     64#
     65!include $(PDWIN32_INCLUDE)/pdwin32.post
     66
     67
     68#
     69# We need all.
     70#
     71needed: all
     72
Note: See TracChangeset for help on using the changeset viewer.