diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-22 17:51:43 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-02-23 12:10:11 -0500 |
commit | eca137c2b3564d30cdd5b2e1a131f610b792c783 (patch) | |
tree | 35c0072f4d62d070bdc8c7c46202eb527c13c32c | |
parent | 00155fba2c650c86900a7a7ce68fefff10dce3de (diff) |
Unbreak the .m.c rule
Some builds of gnu make apparently know about .m.o: rules, and will attempt
to use them directly rather than going through .m.c: on the way to .c.o:.
Which is great, if your .m files happen to be Objective C source; but here,
they're not.
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Paulo Zanoni <pzanoni@mandriva.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | xts5/common.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xts5/common.mk b/xts5/common.mk index 52d0fd68..d36c25ef 100644 --- a/xts5/common.mk +++ b/xts5/common.mk @@ -10,6 +10,10 @@ MC = $(top_builddir)/xts5/src/bin/mc/mc AM_V_MC = $(am__v_MC_$(V)) am__v_MC_ = $(am__v_MC_$(AM_DEFAULT_VERBOSITY)) am__v_MC_0 = @echo " MC " $@; + +# empty rules to turn off objc magic. grr. +%.o : %.m + .m.c: $(AM_V_MC)TET_ROOT='$(abs_top_srcdir)' $(MC) -o $@ $< .m_m.c: |