From 923ab580cf6e5e59bad2fa5bda47a8be69ef56ca Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 11 Oct 2009 21:16:24 +0200 Subject: Add install target --- cutl/makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cutl') diff --git a/cutl/makefile b/cutl/makefile index 1635311..92c7e35 100644 --- a/cutl/makefile +++ b/cutl/makefile @@ -20,6 +20,8 @@ cxx_od := $(cxx_obj:.o=.o.d) cutl.l := $(out_base)/cutl.l cutl.l.cpp-options := $(out_base)/cutl.l.cpp-options +default := $(out_base)/ +install := $(out_base)/.install clean := $(out_base)/.clean @@ -37,6 +39,12 @@ $(call include-dep,$(cxx_od)) # $(out_base)/: $(cutl.l) +# Install. +# +$(install): $(cutl.l) + $(call install-lib,$<,$(install_lib_dir)) + $(call install-dir,$(src_base),$(install_inc_dir)/cutl,\ +'(' -name '*.hxx' -o -name '*.ixx' -o -name '*.txx' ')') # Clean. # -- cgit v1.1