/[ascend]/trunk/pygtk/interface/Makefile
ViewVC logotype

Diff of /trunk/pygtk/interface/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 150 by johnpye, Thu Dec 22 03:41:47 2005 UTC revision 151 by johnpye, Thu Dec 22 10:58:33 2005 UTC
# Line 50  libs: Line 50  libs:
50  #------------------  #------------------
51  # PYTHON STUFF  # PYTHON STUFF
52    
53  USE_PYTHON := 1  USE_PYTHON := 0
54    
55  ifeq ($(USE_PYTHON),1)  ifeq ($(USE_PYTHON),1)
56      ifeq ($(OSTYPE),msys)      ifeq ($(OSTYPE),msys)
# Line 65  ifeq ($(USE_PYTHON),1) Line 65  ifeq ($(USE_PYTHON),1)
65      endif      endif
66  endif  endif
67    
68  ifdef USE_PYTHON  ifeq ($(USE_PYTHON),1)
69      ASCXX_CPPFLAGS := $(ASCEND_CPPFLAGS) $(PYTHON_CPPFLAGS) -DASCXX_USE_PYTHON      ASCXX_CPPFLAGS := $(ASCEND_CPPFLAGS) $(PYTHON_CPPFLAGS) -DASCXX_USE_PYTHON
70      ASCXX_PYTHON_LDFLAGS := $(PYTHON_LDFLAGS)      ASCXX_PYTHON_LDFLAGS := $(PYTHON_LDFLAGS)
71  else  else
# Line 134  all: $(LIB) Line 134  all: $(LIB)
134      $(CC) $(SWIG_CFLAGS) -o $@ $^ $(SWIG_CPPFLAGS)      $(CC) $(SWIG_CFLAGS) -o $@ $^ $(SWIG_CPPFLAGS)
135    
136  $(LIB): $(OBJS) $(SWIG_OBJS) $(ASC_LIBS)  $(LIB): $(OBJS) $(SWIG_OBJS) $(ASC_LIBS)
137      $(LD) -module -shared -o $(LIB) $^ $(LDFLAGS) $(ASCXX_PYTHON_LDFLAGS)      $(LD) -module -shared -o $@ $^ $(LDFLAGS) $(ASCXX_PYTHON_LDFLAGS)
138    
139    #------------------------
140    # Trying to debug this GDPITA '3' problem, bug #178
141    
142    testsolverinit.o: testsolverinit.cpp
143        $(CXX) -c $(CPPFLAGS) $(CFLAGS) -o $@ $^
144    
145    testsolverinit: testsolverinit.o $(OBJS) $(ASC_LIBS)
146        $(LD) -o $@ $^ $(LDFLAGS)
147    
148    
149  #------------------------  #------------------------
150  # Testing the Python module  # Testing the Python module

Legend:
Removed from v.150  
changed lines
  Added in v.151

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22