Jeremy Kerr | 4cdc200 | 2019-02-07 16:49:12 +0800 | [diff] [blame] | 1 | LIBMCTP_DIR ?= libmctp/ |
Andrew Jeffery | eba19a3 | 2021-03-09 23:09:40 +1030 | [diff] [blame] | 2 | LIBMCTP_OBJS = crc32.o core.o alloc.o log.o |
Jeremy Kerr | 672c885 | 2019-03-01 12:18:07 +0800 | [diff] [blame] | 3 | LIBMCTP_BINDINGS ?= serial astlpc |
Jeremy Kerr | 2e89dbb | 2019-03-06 09:36:57 +0800 | [diff] [blame] | 4 | |
| 5 | LIBMCTP_OBJS += $(LIBMCTP_BINDINGS:%=%.o) |
Jeremy Kerr | 4cdc200 | 2019-02-07 16:49:12 +0800 | [diff] [blame] | 6 | |
| 7 | LIBMCTP = $(LIBMCTP_DIR)libmctp.a |
| 8 | |
| 9 | $(LIBMCTP): $(LIBMCTP_OBJS:%=$(LIBMCTP_DIR)%) |