Subversion Repositories SvarDOS

Rev

Rev 210 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
207 mateuszvis 1
#
2
# Makefile for DOS 16-bit (OpenWatcom 1.9)
3
#
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
11
LIB = watt32\lib\wattcpwl.lib
12
 
13
all: pkgnet.exe
14
 
15
pkgnet.exe: pkgnet.obj net.obj
16
	wcl -lr -k8192 $(LIB) *.obj -fe=pkgnet.exe
17
 
18
pkgnet.obj: pkgnet.c
19
	*wcc pkgnet.c $(CFLAGS)
20
 
21
net.obj: net.c
22
	*wcc $(CFLAGS) net.c
23
 
24
clean: .symbolic
25
	del *.obj
26
	del pkgnet.exe