Subversion Repositories SvarDOS

Rev

Rev 262 | Rev 268 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
221 mateuszvis 1
#
2
# pkginst Makefile -- requires OpenWatcom (wmake)
3
# Copyright (C) 2021 Mateusz Viste
4
#
5
 
266 mateuszvis 6
CFLAGS = -0 -mc -os -wx -we -d0 -i=zlib
221 mateuszvis 7
LDFLAGS = -ml -lr -fe=pkginst.exe
266 mateuszvis 8
LIBS = zlib\zlib_c.lib
221 mateuszvis 9
 
10
all: pkginst.exe
11
 
262 mateuszvis 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
221 mateuszvis 13
	wcl $(LDFLAGS) $(LIBS) *.obj
14
 
244 mateuszvis 15
kitten.obj: kitten\kitten.c
16
	wcc $(CFLAGS) kitten\kitten.c
17
 
221 mateuszvis 18
main.obj: main.c
19
	wcc $(CFLAGS) main.c
20
 
21
crc32.obj: crc32.c
22
	wcc $(CFLAGS) crc32.c
23
 
24
fileexst.obj: fileexst.c
25
	wcc $(CFLAGS) fileexst.c
26
 
27
helpers.obj: helpers.c
28
	wcc $(CFLAGS) helpers.c
29
 
30
inf.obj: inf.c
31
	wcc $(CFLAGS) inf.c
32
 
33
kprintf.obj: kprintf.c
34
	wcc $(CFLAGS) kprintf.c
35
 
36
libunzip.obj: libunzip.c
37
	wcc $(CFLAGS) libunzip.c
38
 
39
loadconf.obj: loadconf.c
40
	wcc $(CFLAGS) loadconf.c
41
 
42
lsm.obj: lsm.c
43
	wcc $(CFLAGS) lsm.c
44
 
45
pkginst.obj: pkginst.c
46
	wcc $(CFLAGS) pkginst.c
47
 
48
pkgrem.obj: pkgrem.c
49
	wcc $(CFLAGS) pkgrem.c
50
 
256 mateuszvis 51
trim.obj: trim.c
52
	wcc $(CFLAGS) trim.c
221 mateuszvis 53
 
54
showinst.obj: showinst.c
55
	wcc $(CFLAGS) showinst.c
56
 
57
clean: .symbolic
58
	del *.obj
59
	del pkginst.exe