"Fossies" - the Fresh Open Source Software Archive

Member "c_count-7.20/porting/turboc.mak" (21 May 1995, 1234 Bytes) of package /linux/privat/c_count-7.20.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # $Id: turboc.mak,v 1.2 1995/05/21 00:09:18 tom Exp $
    2 #
    3 # Turbo C/C++ makefile for C line-counter
    4 # (adapted from PRJ2MAK output)
    5 .AUTODEPEND 
    6 
    7 # Define MSDOS for MS-DOS compatibility.
    8 DEFINES = MSDOS
    9 
   10 #       *Translator Definitions*
   11 CC = tcc +c_count.cfg
   12 MODEL = s
   13 TLIB = tlib
   14 TLINK = tlink
   15 LIBPATH = C:\TC\LIB
   16 INCLUDEPATH = .;\tc\include
   17 
   18 OBJECTS = \
   19     c_count.obj \
   20     getopt.obj \
   21     wildcard.obj
   22 
   23 all: c_count.exe
   24 
   25 c_count.man: c_count.1
   26     cawf -man $*.1 | bsfilt - >$*.man
   27 
   28 clean:
   29     erase *.$$$
   30     erase c_count.cfg
   31     erase *.out
   32     erase *.obj
   33     erase *.bak
   34     erase *.log
   35     erase c_count.exe
   36 
   37 #       *Implicit Rules*
   38 .c.obj:
   39     $(CC) -c {$< }
   40 
   41 #       *Explicit Rules*
   42 c_count.exe: c_count.cfg $(OBJECTS)
   43     $(TLINK) /v/x/c/L$(LIBPATH) @&&|
   44 c0$(MODEL).obj+
   45 c_count.obj +
   46 getopt.obj +
   47 wildcard.obj
   48 c_count
   49         # no map file
   50 emu.lib+
   51 math$(MODEL).lib+
   52 c$(MODEL).lib
   53 |
   54 
   55 #       *Compiler Configuration File*
   56 c_count.cfg: turboc.mak
   57     copy &&|
   58 -m$(MODEL)
   59 -v
   60 -vi-
   61 -w-ret
   62 -w-nci
   63 -w-inl
   64 -wpin
   65 -wamb
   66 -wamp
   67 -w-par
   68 -wasm
   69 -wcln
   70 -w-cpt
   71 -wdef
   72 -w-dup
   73 -w-pia
   74 -wsig
   75 -wnod
   76 -w-ill
   77 -w-sus
   78 -wstv
   79 -wucp
   80 -wuse
   81 -w-ext
   82 -w-ias
   83 -w-ibc
   84 -w-pre
   85 -w-nst
   86 -I$(INCLUDEPATH)
   87 -L$(LIBPATH)
   88 -D$(DEFINES);STDC_HEADERS=1
   89 | c_count.cfg
   90 
   91 c_count.obj : c_count.cfg system.h
   92 wildcard.obj : c_count.cfg system.h