forked from huskyproject/fidoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.wcx
62 lines (49 loc) · 1.41 KB
/
makefile.wcx
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
62
# $Id$
# Makefile for Watcom C (Win32)
# no support for huskymak.cfg
#
# Predefines: __WATCOMC__,
# __DOS__ (-bt=dos) or __DOS4G__ (-bt=dos4g), __FLAT__ (-mf)
CC = wcl386
EXENAMEFLAG = -fe=
CDEFS = -D__DOS__
COPT = -zq -wx -wcd=202 -i=.. -oneatx -5 -bt=dos4g -mf -fpi87 -c
COPT_WO_X = -zq -wx -i=.. -oneat -5 -bt=dos4g -mf -fpi87 -c
LFLAGS = -bt=dos4g -mf -fpi87 -l=dos4g
# Also see compilation rule for fidoconf.c !
TPU = .tpu
OBJ = .obj
EXE = .exe
RM = del
LIB = .lib
AR = wlib
AR_R = -b -q
NULL = @%null
SYMBOLIC = .SYMBOLIC
LFCONF = fconfwcx
LINKFIDOCONFIG = $(LFCONF)$(LIB)
LINKSMAPI = ..\smapi\smapiwcx$(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