File: win32.makinc1

package info (click to toggle)
dcc 1.2.74-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,552 kB
  • ctags: 4,041
  • sloc: ansic: 41,034; perl: 2,310; sh: 2,186; makefile: 224
file content (53 lines) | stat: -rw-r--r-- 1,583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Makefile for dcclib for WIN32.

#   This assumes Borland's free command line tools FreeCommandLineTools.exe 
#   available in 2004 at
#	http://www.borland.com/products/downloads/download_cbuilder.html
#   and elsewhere

# Copyright (c) 2004 by Rhyolite Software

# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.

# THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE DISCLAIMS ALL
# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE
# BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.

# Rhyolite Software DCC 1.2.74-1.6 $Revision$

!if "$(MAKE)" == "NMAKE"
__NMAKE__=yes
!endif

!ifndef __NMAKE__
# Borland make
.AUTODEPEND

PATH	=$(PATH);c:/borland/bcc55/bin
CC	=Bcc32
LINK	=Tlink32

INCS	=-Ic:/borland/bc55/include  -I../include
CFLAGS	=-WM -WC -H=../win32.csm -O1 -w -w-par -wdef -wnod -wamb -w-sig $(INCS)
LFLAGS	=-lTpe -lap -lc

!else
# Microsoft nmake
PATH	=$(PATH)
CC	=cl
LINK	=link

INCS	=-I../include
CFLAGS	=/nologo /ML /W3 /O2 /I "..\include" /D "WIN32" /D "_CONSOLE"
LFLAGS	=/nologo /subsystem:console /machine:I386 ws2_32.lib
!endif


DIRT	=*.obj *.lib *.csm