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