ack/modules/src/string/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

19 lines
426 B
Makefile

D := modules/src/string
define build-libstring-impl
$(call reset)
$(call cfile, $D/bts2str.c)
$(call cfile, $D/btscat.c)
$(call cfile, $D/btscmp.c)
$(call cfile, $D/btscpy.c)
$(call cfile, $D/btszero.c)
$(call cfile, $D/long2str.c)
$(call cfile, $D/str2bts.c)
$(call cfile, $D/str2long.c)
$(call cfile, $D/strzero.c)
$(call clibrary, $(LIBDIR)/libstring.a)
LIBSTRING := $o
endef
$(eval $(build-libstring-impl))