/[ascend]/trunk/pygtk/Makefile.bt
ViewVC logotype

Annotation of /trunk/pygtk/Makefile.bt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 531 - (hide annotations) (download)
Mon Apr 24 02:04:02 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/interface/Makefile.bt
File size: 426 byte(s)
Removing extra subdir level in pygtk path
1 johnpye 132 # Makefile for bin-tokens
2    
3     CC = gcc
4    
5     #LD = $(CC) -shared -fPIC
6     LD = libtool --mode=link gcc -module -shared -fPIC
7    
8     LDFLAGS = -lm -L$(ASCEND_LIBDIR)
9    
10     SO_SUF = .so
11    
12     CPPFLAGS = -I$(ASCEND_INCDIR)
13    
14     SOURCE_ROOT = /home/john/src/ascend/trunk/
15     # btprolog is in /usr/lib, unfortunately, on my machine...
16    
17     CFLAGS = -O -c
18    
19     all: $(SO)$(SO_SUF)
20    
21     %$(SO_SUF): %.o
22     $(LD) -o $@ $^ $(LDFLAGS)
23    
24     %.o: %.c
25     $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^
26    

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