shithub: riscv

ref: d32578073676ce90769c378cbd5c61db22c1b49e
dir: /sys/src/cmd/bzip2/mkfile/

View raw version
</$objtype/mkfile

OFILES=

TARG=\
	bzip2\
	bunzip2\

HFILES=\
	lib/os.h\
	lib/bzlib.h\
	lib/plan9.h\

LIB=lib/libbzip2.a$O

BIN=/$objtype/bin
</sys/src/cmd/mkmany

CFLAGS=$CFLAGS -p -DPLAN9 -Ilib

bzip2recover.$O: bzip2recover.c
	pcc -D_POSIX_SOURCE -D_BSD_EXTENSION -c bzip2recover.c

clean:V:
	rm -f *.[$OS] y.tab.? y.debug y.output [$OS].* $TARG *.rb2 *.tst
	@{cd lib; mk clean}

lib/libbzip2.a$O:
	@{cd lib; mk}