]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/rules.mk
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / samples / rules.mk
index f7eea2a64db548503b62b3aabb5cd787f17f6a6d..5d39b7c7eaee938bee668c23c1f4dc295594fead 100644 (file)
@@ -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)