File kpw/makefile artifact 722d1b1415 part of check-in 46da53de26
include ../makerules cdeps = compose.c iaia.c tbl.c cpaths = $(cdeps:%=$(root)/clib/%) $(root)/kpw.bin: kpw.c opt.inc err.inc $(cpaths) $(cc) -I$(root) $< -lsodium -o $@ $(flags) $(cc-post) tab = cat $< | awk -v emit=$1 -F'\t+' -f $<.awk >> $@ opt.inc: optab optab.awk :>$@ $(call tab,cond) $(call tab,enum) $(call tab,argtbl) $(call tab,olong) $(call tab,oshort) $(call tab,usage) err.inc: errtab errtab.awk :>$@ $(call tab,enum) $(call tab,msg) .PHONY: dbg