blob: 6ea56b794b34101c615e4ad763302b1723f9208e [file] [log] [blame]
LIBMCTP_DIR ?= libmctp/
LIBMCTP_OBJS = crc32.o core.o alloc.o log.o
LIBMCTP_BINDINGS ?= serial astlpc
LIBMCTP_OBJS += $(LIBMCTP_BINDINGS:%=%.o)
LIBMCTP = $(LIBMCTP_DIR)libmctp.a
$(LIBMCTP): $(LIBMCTP_OBJS:%=$(LIBMCTP_DIR)%)