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

Contents of /trunk/ascxx/Makefile.bt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2327 - (show annotations) (download)
Wed Dec 22 07:17:24 2010 UTC (13 years, 8 months ago) by jpye
File size: 426 byte(s)
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'.
Adding support for IPOPT 3.9.1, the current latest version.
Support in dtar for parallel builds (possibly needs some testing still).
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