source: trunk/vizservers/pymolproxy/Makefile @ 749

Last change on this file since 749 was 749, checked in by dkearney, 17 years ago

moved vizservers directory to top level. added configure/makefiles to nanovis, nanoscale, pymolproxy all controlled by a configure script in
vizservers directory. to build you need to specify where rappture and tcl are installed. the start_viz.sh script was adjusted to copy the voronoi and
rappture libraries over to the tmp directory because these files tend to reside on an nfs mounted drive.

File size: 815 bytes
Line 
1TARGETS = pymolproxy
2
3CC      = gcc
4CFLAGS  = -g -O2 -I/usr/include/tcl8.4
5LDFLAGS =
6# LDFLAGS = $(LDFLAGS)
7
8prefix          = /home/nanohub/dkearney/repo/viz_20070521
9exec_prefix     = /home/nanohub/dkearney/repo/viz_20070521
10bindir          = ${exec_prefix}/bin
11libdir          = ${exec_prefix}/lib
12includedir      = ${prefix}/include
13mandir          = ${prefix}/man
14
15INSTALL         = /usr/bin/install -c
16INSTALL_PROGRAM = ${INSTALL} -m 755
17INSTALL_DATA    = ${INSTALL} -m 644
18INSTALL_SCRIPT  = ${INSTALL} -m 644
19
20.PHONY: all install clean
21
22all: $(TARGETS)
23
24pymolproxy: pymolproxy.o
25        $(CC) $(CFLAGS) $(LDFLAGS) -DSTANDALONE pymolproxy.c -o pymolproxy -ltcl8.4
26
27install: pymolproxy
28        $(INSTALL_PROGRAM) pymolproxy $(bindir)/pymolproxy
29
30clean:
31        rm -rf a.out *.o *~ core* $(TARGETS) *.log *.tmp logfile* .deps/*.d
32
Note: See TracBrowser for help on using the repository browser.