Subversion Repositories SvarDOS

Rev

Rev 207 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 207 Rev 210
Line 1... Line 1...
1
#
1
#
2
# Makefile for DOS 16-bit (OpenWatcom 1.9)
2
# Makefile for DOS 16-bit (OpenWatcom 1.9)
3
#
3
#
4
 
4
 
5
# some interesting wcc flags:
-
 
6
# -oz  NULL points to valid memory
-
 
7
# -os  favor code size over code speed
-
 
8
# -ox  equivalent to "-obmiler -s"   (-s removes stack overflow checks!)
-
 
9
 
-
 
10
CFLAGS = -j -ml -0 -bt=dos -wx -we -d0 -obmilers -dNOLFN -i=watt32\inc
5
CFLAGS = -j -ml -0 -bt=dos -wx -we -d0 -ox -dNOLFN -i=watt32\inc
11
LIB = watt32\lib\wattcpwl.lib
6
LIB = watt32\lib\wattcpwl.lib
12
 
7
 
13
all: pkgnet.exe
8
all: pkgnet.exe
14
 
9
 
15
pkgnet.exe: pkgnet.obj net.obj
10
pkgnet.exe: pkgnet.obj net.obj
16
	wcl -lr -k8192 $(LIB) *.obj -fe=pkgnet.exe
11
	wcl -lr -k8192 $(LIB) *.obj -fe=pkgnet.exe
17
 
12
 
18
pkgnet.obj: pkgnet.c
13
pkgnet.obj: pkgnet.c
19
	*wcc pkgnet.c $(CFLAGS)
14
	*wcc $(CFLAGS) pkgnet.c
20
 
15
 
21
net.obj: net.c
16
net.obj: net.c
22
	*wcc $(CFLAGS) net.c
17
	*wcc $(CFLAGS) net.c
23
 
18
 
24
clean: .symbolic
19
clean: .symbolic