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