Subversion Repositories SvarDOS

Rev

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
 
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
 
207 mateuszvis 17
pkgnet.exe: pkgnet.obj net.obj
18
	wcl -lr -k8192 $(LIB) *.obj -fe=pkgnet.exe
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
 
26
clean: .symbolic
27
	del *.obj
28
	del pkgnet.exe