Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Makefile ICU4LUA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
gurinderu
n00b
n00b


Joined: 01 Apr 2011
Posts: 1
Location: RU

PostPosted: Wed Jun 22, 2011 7:35 am    Post subject: Makefile ICU4LUA Reply with quote

У меня имеется Makefile для ICU4lua, но он к сожалению для MacOS
Code:

LUA= /usr/local
LUAINC= $(LUA)/include
LUALIB= $(LUA)/lib
LUABIN= $(LUA)/bin
INSTALL_LMOD= $(LUA)/share/lua/5.1
INSTALL_CMOD= $(LUA)/lib/lua/5.1

CC= gcc
CFLAGS= $(INCS) $(WARN) -O2 $(shell icu-config --cflags) -std=c99
WARN= -pedantic -Wall
INCS= -I$(LUAINC) $(shell icu-config --cppflags)
LIBS= $(shell icu-config --ldflags --ldflags-icuio)

T= icu.so
OBJS= \
 icu.o \
 icu.collator.o \
 icu.idna.o \
 icu.normalizer.o \
 icu.regex.o \
 icu.stringprep.o \
 icu.ufile.o \
 icu.ustring.o \
 icu.utf8.o \
 matchengine.o

all: $T

$T: $(OBJS)
   $(CC) -o $@ -bundle -undefined dynamic_lookup $(OBJS) $(LIBS)

clean:
   rm -f $(OBJS) $T

install: $T
   install -p -m 0755 $T $(INSTALL_CMOD)

.PHONY: all clean install



Я к сожалению ничего не понимаю в созданий Makefile'ов. Помогите переписать под Linux/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum