07453d184a
directories --- wrangling descr files was too hard. C programs can be built for cpm, pc86, linux386, linux68k! --HG-- branch : dtrg-buildsystem rename : util/ack/build.mk => util/led/build.mk rename : util/LLgen/build.mk => util/topgen/build.mk
24 lines
555 B
Makefile
24 lines
555 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)
|
|
$(call build-simple-tool,aelflod)
|
|
|