blob: f7eea2a64db548503b62b3aabb5cd787f17f6a6d [file] [log] [blame]
# Copyright (c) 2002-2005 IBM, Inc. and others
# sample code rules for a single-target simple sample
# list of targets that aren't actually created
.PHONY: all clean distclean check report
$( $^ $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS)
res-install: $(RESTARGET)
$(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST) --install $(shell icu-config --libdir)
# clean out files
distclean clean: $(CLEAN_SUBDIR)
-test -z "$(CLEANFILES)" || rm -rf $(CLEANFILES)
# Make check: simply runs the sample, logged to a file
check: $(TARGET)
## resources
%.res: %.txt
@echo "generating $@"
$(RESNAME)/%.res: %.txt
@echo "generating $@"