1# Copyright (c) 2002-2012 IBM, Inc. and others
2# Sample code makefile definitions 
3
4CLEANFILES=*~ $(TARGET).out
5####################################################################
6# Load ICU information. You can copy this to other makefiles #######
7####################################################################
8CC=$(shell icu-config --cc)
9CXX=$(shell icu-config --cxx)
10CPPFLAGS=$(shell icu-config --cppflags)
11CFLAGS=$(shell icu-config --cflags)
12CXXFLAGS=$(shell icu-config --cxxflags)
13LDFLAGS =$^ $(shell icu-config --ldflags)
14LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
15INVOKE=$(shell icu-config --invoke)
16GENRB=$(shell icu-config --invoke=genrb)
17GENRBOPT=
18PKGDATA=$(shell icu-config --invoke=pkgdata)
19SO=$(shell icu-config --so)
20PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d .
21# default - resources in same mode as ICU
22RESMODE=$(shell icu-config --icudata-mode)
23
24####################################################################
25### Project independent things (common) 
26### We depend on gmake for the bulk of the work 
27
28RMV=rm -rf
29