From f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Jul 2019 13:09:43 +0200 Subject: build: Alternative build system based on waf Update #3818. --- make/lib.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 make/lib.cfg (limited to 'make/lib.cfg') diff --git a/make/lib.cfg b/make/lib.cfg new file mode 100644 index 0000000000..c4a2c679d5 --- /dev/null +++ b/make/lib.cfg @@ -0,0 +1,15 @@ +# make/lib.cfg +# +# Make(1) configuration file include'd by all "library" Makefile +# Assumes $(LIB) is set to $(ARCH)/libfoo.a +# + +include $(PROJECT_ROOT)/make/leaf.cfg + +define make-library +$(RM) $@ +$(AR) $(ARFLAGS) $@ $(OBJS) +$(RANLIB) $@ +endef + +.PRECIOUS: $(LIB) -- cgit v1.2.3