forked from huskyproject/fidoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.wcw
61 lines (48 loc) · 1.32 KB
/
makefile.wcw
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
54
55
56
57
58
59
60
61
# $Id$
# Makefile for Watcom C (Win32)
# no support for huskymak.cfg
#
# Predefines: __WATCOMC__, __NT__ (-bt=nt)
CC = wcl386
EXENAMEFLAG = -fe=
CDEFS =
COPT = -zq -wx -wcd=202 -i=.. -oneatx -5 -c -bt=nt -fpi87
COPT_WO_X = -zq -wx -i=.. -oneat -5 -c -bt=nt -fpi87
LFLAGS = -bt=nt -l=nt
# Also see compilation rule for fidoconf.c !
TPU = .tpu
OBJ = .obj
EXE = .exe
RM = del
LIB = .lib
AR = wlib
AR_R = -b -q
LFCONF = fconfwcw
NULL = @%null
SYMBOLIC = .SYMBOLIC
LINKFIDOCONFIG = $(LFCONF)$(LIB)
LINKSMAPI = ..\smapi\smapiwcw$(LIB)
LIBPREFIX =
FIDOCONFIG = fidoconfig
FCONF2AQUAED = fconf2aquaed
FCONF2GOLDED = fconf2golded
FCONF2MSGED = fconf2msged
FCONF2FIDOGATE = fconf2fidogate
FCONF2SQUISH = fconf2squish
FCONF2TORNADO = fconf2tornado
FCONF2BINKD = fconf2binkd
FECFG2FCONF = fecfg2fconf
LIBFIDOCONFIG = $(LIBPREFIX)$(LFCONF)
.DEFAULT
$(NULL)
default : all $(SYMBOLIC)
!include makefile.in1
!include makefile.inc
fidoconf$(OBJ) : fidoconf.c
$(CC) $(COPT_WO_X) $(CDEFS) $<
# Relax some optimization because of bug in WCL 11.0 - removed 'x' option
all : commonlibs commonprogs $(SYMBOLIC)
clean : commonclean $(SYMBOLIC)
-$(RM) *.err
distclean : commondistclean $(SYMBOLIC)
-$(RM) *.err