ack/util/arch/build.mk
David Given c1aca7dae5 First milestone of replacing the build system.
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00

24 lines
435 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)
$(call reset)
$(eval q := $D/aal.1)
$(call installto, $(INSDIR)/share/man/man1/aal.1)
endef
$(eval $(build-aal-impl))