From ef8fb52d6e7777733ba8243f31d5403452aabd96 Mon Sep 17 00:00:00 2001 From: John Emmons Date: Wed, 30 Aug 2006 18:22:48 +0000 Subject: [PATCH] ICU-5355 Add explicit rule for .cpp -> .o for platforms that don't have it X-SVN-Rev: 20192 --- icu4c/source/samples/rules.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/icu4c/source/samples/rules.mk b/icu4c/source/samples/rules.mk index f7eea2a64db..5d39b7c7eae 100644 --- a/icu4c/source/samples/rules.mk +++ b/icu4c/source/samples/rules.mk @@ -1,4 +1,4 @@ -# Copyright (c) 2002-2005 IBM, Inc. and others +# Copyright (c) 2002-2006 IBM, Inc. and others # sample code rules for a single-target simple sample # list of targets that aren't actually created @@ -32,3 +32,7 @@ check: $(TARGET) $(RESNAME)/%.res: %.txt @echo "generating $@" $(GENRB) $(GENRBOPT) $^ + +## Some platforms don't have .cpp as a default suffix, so add the rule here +%.o: %.cpp + $(COMPILE.cc) $< $(OUTPUT_OPTION)