#***************************************************************************
#
# Makefile for pdbmodel
# Copyright 1989, Pittsburgh Supercomputing Center, Carnegie Mellon University
# Authors Doug Wagner and Joel Welling
# 
# Permission use, copy, and modify this software and its documentation
# without fee for personal use or use within your organization is hereby
# granted, provided that the above copyright notice is preserved in all
# copies and that that copyright and this permission notice appear in
# supporting documentation.  Permission to redistribute this software to
# other organizations or individuals is not granted;  that must be
# negotiated with the PSC.  Neither the PSC nor Carnegie Mellon
# University make any representations about the suitability of this
# software for any purpose.  It is provided "as is" without express or
# implied warranty.
# 
#****************************************************************************
#
#  Installer should not have to change anything beyond this point.
#-------------------------------------------------------------------------

LIBS = -lm

EXECUTABLES = pdbmodel

INSTALLABLES = pdbmodel

SRC = pdbmodel.o

CSOURCE= pdbmodel.c

OTHER_SOURCE= cc.opt descrip.mms element_tbl.t sample.pdb

all:: $(EXECUTABLES)

pdbmodel: $(SRC)
	cc $(CFLAGS) -o $@ $(SRC) $(LIBS)

pdbmodel.o:
	$(CC) -c -DELEMENT_TABLE='"$(ROOT_PATH)/modelbuilders/pdbmodel/element_tbl.t"' pdbmodel.c 

