X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/fd0068a84e9996f225edba706498f6ed413d0673..46f4442e9a5a4f3b98b7c1083586332f6a8a99a4:/icuSources/samples/rules.mk diff --git a/icuSources/samples/rules.mk b/icuSources/samples/rules.mk index f7eea2a6..5d39b7c7 100644 --- a/icuSources/samples/rules.mk +++ b/icuSources/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)