Rev 262 | Rev 268 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#
# pkginst Makefile -- requires OpenWatcom (wmake)
# Copyright (C) 2021 Mateusz Viste
#
CFLAGS = -0 -mc -os -wx -we -d0 -i=zlib
LDFLAGS = -ml -lr -fe=pkginst.exe
LIBS = zlib\zlib_c.lib
all: pkginst.exe
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
wcl $(LDFLAGS) $(LIBS) *.obj
kitten.obj: kitten\kitten.c
wcc $(CFLAGS) kitten\kitten.c
main.obj: main.c
wcc $(CFLAGS) main.c
crc32.obj: crc32.c
wcc $(CFLAGS) crc32.c
fileexst.obj: fileexst.c
wcc $(CFLAGS) fileexst.c
helpers.obj: helpers.c
wcc $(CFLAGS) helpers.c
inf.obj: inf.c
wcc $(CFLAGS) inf.c
kprintf.obj: kprintf.c
wcc $(CFLAGS) kprintf.c
libunzip.obj: libunzip.c
wcc $(CFLAGS) libunzip.c
loadconf.obj: loadconf.c
wcc $(CFLAGS) loadconf.c
lsm.obj: lsm.c
wcc $(CFLAGS) lsm.c
pkginst.obj: pkginst.c
wcc $(CFLAGS) pkginst.c
pkgrem.obj: pkgrem.c
wcc $(CFLAGS) pkgrem.c
trim.obj: trim.c
wcc $(CFLAGS) trim.c
showinst.obj: showinst.c
wcc $(CFLAGS) showinst.c
clean: .symbolic
del *.obj
del pkginst.exe