diff options
Diffstat (limited to 'build-0.3/c/generic/c-o.make')
-rw-r--r-- | build-0.3/c/generic/c-o.make | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/build-0.3/c/generic/c-o.make b/build-0.3/c/generic/c-o.make deleted file mode 100644 index d340837..0000000 --- a/build-0.3/c/generic/c-o.make +++ /dev/null @@ -1,39 +0,0 @@ -# file : build/c/generic/c-o.make -# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base)) -$(call include,$(bld_root)/c/generic/configuration.make) - -$(out_base)/%.o: c := $(c_generic) - -#@@ wrong prefix -# -$(out_base)/%.o: expand-cpp-options-impl = \ -$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1)) - -$(out_base)/%.o: expand-cpp-options = \ -$(call expand-cpp-options-impl,$(filter %.cpp-options,$1)) - -ifeq ($(out_base),$(src_base)) -$(out_base)/%.o: $(src_base)/%.$(c_s_suffix) -else -$(out_base)/%.o: $(src_base)/%.$(c_s_suffix) | $$(dir $$@). -endif - $(call message,c $<,$(c) \ -$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \ -$(c_options) $(c_pic_options) $(c_extra_options) -o $@ -c $<) - -ifneq ($(out_base),$(src_base)) - -$(out_base)/%.o: $(out_base)/%.$(c_s_suffix) | $$(dir $$@). - $(call message,c $<,$(c) \ -$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \ -$(c_options) $(c_pic_options) $(c_extra_options) -o $@ -c $<) - -endif - -.PHONY: $(out_base)/%.o.$(c_s_suffix).clean - -$(out_base)/%.o.$(c_s_suffix).clean: - $(call message,rm $$1,rm -f $$1,$(basename $(basename $@))) |