umm makefile would help
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@733 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b464421d3f
commit
9252f0c15b
|
@ -0,0 +1,18 @@
|
|||
LDFLAGS += -L/opt/swift/lib -lswift -lceplex_us -lceplang_en -lceplang_de -lceplang_es -lceplang_fr -lceplang_it -lm
|
||||
CFLAGS += -I/opt/swift/include
|
||||
LINKER=$(CC)
|
||||
|
||||
|
||||
all: depends $(MODNAME).so
|
||||
|
||||
depends:
|
||||
|
||||
$(MODNAME).so: $(MODNAME).c
|
||||
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
||||
$(LINKER) $(SOLINK) -o $(MODNAME).so $(MODNAME).o $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -fr *.so *.o *~
|
||||
|
||||
install:
|
||||
cp -f $(MODNAME).so $(PREFIX)/mod
|
Loading…
Reference in New Issue