Posted to tcl by jdc at Tue Apr 15 11:29:06 GMT 2008view raw
- TCLDIR = /target/staff/decoster/activetcl/8.5.0.0
- TCLINCDIR = $(TCLDIR)/include
- TCLLIBDIR = $(TCLDIR)/lib
- TCLLIB = $(TCLLIBDIR)/libtcl8.5.so
- all: example.so
- example.so : example.o
- g++ -shared -o example.so example.o $(TCLLIB)
- example.o : example.c
- g++ -fPIC -I$(TCLINCDIR) example.c -c -o example.o