ack/util/arch/build.mk
David Given d5f0107746 Build the Basic run-time library (after some modernisation).
--HG--
branch : dtrg-buildsystem
2013-05-14 16:11:29 +01:00

25 lines
465 B
Makefile

D := util/arch
define build-aal-impl
$(call reset)
$(eval cflags += -DAAL)
$(call cfile, $D/archiver.c)
$(call file, $(LIBOBJECT))
$(call file, $(LIBPRINT))
$(call file, $(LIBSTRING))
$(call file, $(LIBSYSTEM))
$(call cprogram, $(BINDIR)/aal)
$(call installto, $(INSDIR)/bin/aal)
$(eval AAL := $o)
$(eval ACK_CORE_TOOLS += $o)
$(call reset)
$(eval q := $D/aal.1)
$(call installto, $(INSDIR)/share/man/man1/aal.1)
endef
$(eval $(build-aal-impl))