]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/ufortune/Makefile
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / samples / ufortune / Makefile
CommitLineData
f3c0d7a5
A
1# Copyright (C) 2016 and later: Unicode, Inc. and others.
2# License & terms of use: http://www.unicode.org/copyright.html#License
3#
374ca955 4# Copyright (c) 2001-2003 IBM, Inc. and others
b75a7d8f
A
5
6#
7# File
8# icu/source/samples/ufortune/Makefile
9#
10# Usage:
11# - configure and build ICU [see the docs] .. use "--prefix=" something
12#
13# - do 'make install' of icu
14#
15# - make sure the script 'icu-config' is executable in your PATH
16#
17# - do 'gmake' in this directory
18# - do 'gmake check' to run the sample.
19
20
21# Load ICU information
22include ../defs.mk
23
24include fortunedefs.mk
25
26# Name of your target
27TARGET=ufortune
28
29# All object files (C or C++)
30OBJECTS=ufortune.o
31
32# dir containing resources
33RESDIR=resources
34
35# hook variables to tell rules.mk we want subdirectory processing
36ALL_SUBDIR= all-$(RESDIR)
37CLEAN_SUBDIR= clean-$(RESDIR)
38
39# Need: ustdio, and to link with ufortune
40XTRALIBS=$(RESLDFLAGS)
41LDFLAGS += $(LDFLAGS_USTDIO)
42CPPFLAGS += $(RESCPPFLAGS)
43
44### Include standard rules
45include ../rules.mk
46
47# subdirectory processing
48all-$(RESDIR):
49 $(MAKE) -C $(RESDIR)
50
51clean-$(RESDIR):
52 -$(MAKE) -C $(RESDIR) clean
53
54
55install-$(RESDIR):
56 $(MAKE) -C $(RESDIR) install
374ca955 57
f3c0d7a5 58install: install-$(RESDIR)