blob: 89924296a8602b87d6d4de761a968acb5994d6be [file] [log] [blame]
# Copyright (c) 2002 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 -f $(CLEANFILES)
# Make check: simply runs the sample, logged to a file
check: $(TARGET)
## resources
$(RESNAME)_%.res: %.txt
@echo "generating $@"