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

Contents of /trunk/pygtk/Makefile.bt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 531 - (show annotations) (download)
Mon Apr 24 02:04:02 2006 UTC (19 years ago) by johnpye
Original Path: trunk/interface/Makefile.bt
File size: 426 byte(s)
Removing extra subdir level in pygtk path
1 # 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