Subversion Repositories SvarDOS

Rev

Rev 278 | Rev 343 | Go to most recent revision | Details | Compare with Previous | 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
 
210 mateuszvis 5
CFLAGS = -j -ml -0 -bt=dos -wx -we -d0 -ox -dNOLFN -i=watt32\inc
207 mateuszvis 6
LIB = watt32\lib\wattcpwl.lib
7
 
8
all: pkgnet.exe
9
 
278 mateuszvis 10
release: pkgnet.exe .symbolic
11
	mkdir bin
12
	mkdir appinfo
13
	copy pkgnet.exe bin
14
	copy pkgnet.lsm appinfo
15
	zip -9 -r -m pkgnet.zip bin appinfo
16
 
339 mateuszvis 17
pkgnet.exe: pkgnet.obj net.obj unchunk.obj
18
	wcl -lr -k8192 $(LIB) pkgnet.obj net.obj unchunk.obj -fe=pkgnet.exe
207 mateuszvis 19
 
20
pkgnet.obj: pkgnet.c
210 mateuszvis 21
	*wcc $(CFLAGS) pkgnet.c
207 mateuszvis 22
 
23
net.obj: net.c
24
	*wcc $(CFLAGS) net.c
25
 
339 mateuszvis 26
unchunk.obj: unchunk.c
27
	*wcc $(CFLAGS) unchunk.c
28
 
29
unchtest.obj: unchtest.c
30
	*wcc $(CFLAGS) unchtest.c
31
 
32
unchtest.exe: unchtest.obj unchunk.obj
33
	wcl -lr $(LIB) unchtest.obj unchunk.obj -fe=unchtest.exe
34
 
207 mateuszvis 35
clean: .symbolic
36
	del *.obj
37
	del pkgnet.exe