From e0900b0777c8f54df56ab7f4d1fd2669d8d69140 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 12 Jun 2022 14:23:39 +0300 Subject: [PATCH] Main: Makefile.am: add recursive targets --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b602da0..a920f19 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,3 @@ -# FIXME: dependencies are not built automatically without --enable-split-* - include $(top_srcdir)/shared.am ACLOCAL_AMFLAGS = -I m4 @@ -20,6 +18,11 @@ if ENABLE_TESTS SUBDIRS += examples tests endif +libc/libc.la: + $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/libc libc.la +libm/libm.la: + $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/libm libm.la + lib_LTLIBRARIES = libkernaux.la libkernaux_la_SOURCES = src/libc.h src/assert.c