X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..4d9eefca008a7bc544144ef830fa144ce89deaa0:/icuSources/samples/rules.mk?ds=sidebyside diff --git a/icuSources/samples/rules.mk b/icuSources/samples/rules.mk index 5d39b7c7..ac0e27e4 100644 --- a/icuSources/samples/rules.mk +++ b/icuSources/samples/rules.mk @@ -1,4 +1,4 @@ -# Copyright (c) 2002-2006 IBM, Inc. and others +# Copyright (c) 2002-2012 IBM, Inc. and others # sample code rules for a single-target simple sample # list of targets that aren't actually created @@ -7,7 +7,7 @@ all: $(ALL_SUBDIR) $(RESTARGET) $(TARGET) $(TARGET): $(OBJECTS) - $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS) + $(LINK.cc) $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS) -licui18n -licuuc $(RESTARGET): $(RESFILES) $(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST) @@ -21,7 +21,7 @@ distclean clean: $(CLEAN_SUBDIR) -rm -rf $(OBJECTS) $(TARGET) $(RESTARGET) $(RESFILES) # Make check: simply runs the sample, logged to a file -check: $(TARGET) +check: $(ALL_SUBDIR) $(RESTARGET) $(TARGET) $(INVOKE) $(CHECK_VARS) ./$(TARGET) $(CHECK_ARGS) | tee $(TARGET).out ## resources