]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/udata/Makefile
ICU-66108.tar.gz
[apple/icu.git] / icuSources / samples / udata / Makefile
index 525c6f9ebd0eceb26e36778736f7101c88bf41c0..9467631395d6359a3d2abbf1cec4a17e6dcf94eb 100644 (file)
@@ -1,4 +1,7 @@
-# Copyright (c) 2000-2010 IBM, Inc. and others
+# Copyright (C) 2016 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/copyright.html#License
+#
+# Copyright (c) 2000-2012 IBM, Inc. and others
 # udata sample code
 # Usage:
 #  - configure, build, install ICU
 # udata sample code
 # Usage:
 #  - configure, build, install ICU
@@ -56,10 +59,10 @@ distclean clean:
 # Can change this to LINK.c if it is a C only program
 # Can add more libraries here. 
 $(TARGET1): $(OBJECTS1)
 # Can change this to LINK.c if it is a C only program
 # Can add more libraries here. 
 $(TARGET1): $(OBJECTS1)
-       $(CC) -o $@ $^ $(LDFLAGS)
+       $(CXX) -o $@ $(LDFLAGS)
 
 $(TARGET2): $(OBJECTS2)
 
 $(TARGET2): $(OBJECTS2)
-       $(CC) -o $@ $^ $(LDFLAGS)
+       $(CXX) -o $@ $(LDFLAGS) -licui18n -licuuc
 
 # Make check: simply runs the sample, logged to a file
 check: $(TARGET1) $(TARGET2)
 
 # Make check: simply runs the sample, logged to a file
 check: $(TARGET1) $(TARGET2)