Subversion Repositories SvarDOS

Rev

Rev 266 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 266 Rev 268
Line 1... Line 1...
1
#
1
#
2
# pkginst Makefile -- requires OpenWatcom (wmake)
2
# pkg Makefile -- requires OpenWatcom (wmake)
3
# Copyright (C) 2021 Mateusz Viste
3
# Copyright (C) 2021 Mateusz Viste
4
#
4
#
5
 
5
 
6
CFLAGS = -0 -mc -os -wx -we -d0 -i=zlib
6
CFLAGS = -0 -mc -os -wx -we -d0 -i=zlib
7
LDFLAGS = -ml -lr -fe=pkginst.exe
7
LDFLAGS = -lr -fe=pkg.exe
8
LIBS = zlib\zlib_c.lib
8
LIBS = zlib\zlib_c.lib
9
 
9
 
10
all: pkginst.exe
10
all: pkg.exe
11
 
11
 
12
pkginst.exe: kitten.obj main.obj crc32.obj fileexst.obj helpers.obj inf.obj kprintf.obj libunzip.obj loadconf.obj lsm.obj pkginst.obj pkgrem.obj trim.obj showinst.obj
12
pkg.exe: kitten.obj main.obj crc32.obj fileexst.obj helpers.obj inf.obj kprintf.obj libunzip.obj loadconf.obj lsm.obj pkginst.obj pkgrem.obj trim.obj showinst.obj
13
	wcl $(LDFLAGS) $(LIBS) *.obj
13
	wcl $(LDFLAGS) $(LIBS) *.obj
14
 
14
 
15
kitten.obj: kitten\kitten.c
15
kitten.obj: kitten\kitten.c
16
	wcc $(CFLAGS) kitten\kitten.c
16
	wcc $(CFLAGS) kitten\kitten.c
17
 
17
 
Line 54... Line 54...
54
showinst.obj: showinst.c
54
showinst.obj: showinst.c
55
	wcc $(CFLAGS) showinst.c
55
	wcc $(CFLAGS) showinst.c
56
 
56
 
57
clean: .symbolic
57
clean: .symbolic
58
	del *.obj
58
	del *.obj
59
	del pkginst.exe
59
	del pkg.exe