ack/util/amisc/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

23 lines
521 B
Makefile

define build-simple-tool-impl
$(call reset)
$(call cfile, util/amisc/$1.c)
$(call file, $(LIBOBJECT))
$(call cprogram, $(BINDIR)/$1)
$(eval INSTALLABLES += $o)
$(call installto, $(INSDIR)/bin/$1)
$(call reset)
$(eval q := util/amisc/$1.1)
$(call installto, $(INSDIR)/share/man/man1/$1.1)
endef
build-simple-tool = $(eval $(build-simple-tool-impl))
$(call build-simple-tool,anm)
$(call build-simple-tool,ashow)
$(call build-simple-tool,asize)
$(call build-simple-tool,aslod)
$(call build-simple-tool,astrip)