First milestone of replacing the build system.

--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
This commit is contained in:
David Given
2013-05-12 20:45:55 +01:00
parent bcfb3d802f
commit c1aca7dae5
119 changed files with 1584 additions and 319 deletions

View File

@@ -0,0 +1,22 @@
D := modules/src/print
define build-libprint-impl
$(call reset)
$(call cfile, $D/doprnt.c)
$(call cfile, $D/fprint.c)
$(call cfile, $D/print.c)
$(call cfile, $D/sprint.c)
$(call cfile, $D/format.c)
$(eval $q: $(INCDIR)/system.h)
$(call clibrary, $(LIBDIR)/libprint.a)
LIBPRINT := $o
$(call reset)
$(eval q := $D/print.h)
$(call copyto, $(INCDIR)/print.h)
endef
$(eval $(build-libprint-impl))