1 # Copyright (C) 2016 and later: Unicode, Inc. and others.
2 # License & terms of use: http://www.unicode.org/copyright.html#License
4 # Copyright (c) 2001-2003 IBM, Inc. and others
8 # icu/source/samples/ufortune/Makefile
11 # - configure and build ICU [see the docs] .. use "--prefix=" something
13 # - do 'make install' of icu
15 # - make sure the script 'icu-config' is executable in your PATH
17 # - do 'gmake' in this directory
18 # - do 'gmake check' to run the sample.
21 # Load ICU information
24 include fortunedefs.mk
29 # All object files (C or C++)
32 # dir containing resources
35 # hook variables to tell rules.mk we want subdirectory processing
36 ALL_SUBDIR= all-$(RESDIR)
37 CLEAN_SUBDIR= clean-$(RESDIR)
39 # Need: ustdio, and to link with ufortune
40 XTRALIBS=$(RESLDFLAGS)
41 LDFLAGS += $(LDFLAGS_USTDIO)
42 CPPFLAGS += $(RESCPPFLAGS)
44 ### Include standard rules
47 # subdirectory processing
52 -$(MAKE) -C $(RESDIR) clean
56 $(MAKE) -C $(RESDIR) install
58 install: install-$(RESDIR)