ICU-5355 Add explicit rule for .cpp -> .o for platforms that don't have it

X-SVN-Rev: 20192
This commit is contained in:
John Emmons 2006-08-30 18:22:48 +00:00
parent 5282667c4c
commit ef8fb52d6e

View 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)