head	1.1;
access;
symbols;
locks
	yaya:1.1; strict;
comment	@# @;


1.1
date	2005.05.07.12.21.23;	author yaya;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@# CIFFOLD 0.4 Pre-Release
# by Kostadin Mitev, Georgi Todorov and Herbert J. Bernstein
#
# Copyright (C) Kostadin Mitev 2005
#
# Work funded in part by the International Union of Crsytallography under
# a grant to Dowling College.
#
# This software is covered by the GNU General Public License 
# <see COPYING>.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
########################################################################


#Header files needed:
#ReadFile.h FUFCIF.h Globals.h ERROR.h getOpt.h 
CPP=g++
TARGET= ciffold
SRC= menus.cpp ReadFile.cpp FUCIF.c ERROR.cpp getOpt.cpp
OBJ= menus.o ReadFile.o FUCIF.o ERROR.o getOpt.o
LIB=-lncurses -lmenu
LDLIBS = -lpanel -lncurses
all: $(TARGET)

$(TARGET): $(OBJ)
	$(CPP) -o $@@ $(OBJ) $(LIB)

$(OBJ): $(SRC)
	$(CPP)  -g -c -fbounds-check menus.cpp -o menus.o
	$(CPP)  -g -c -fbounds-check ReadFile.cpp -o ReadFile.o
	$(CPP)  -g -c -fbounds-check FUCIF.c -o FUCIF.o
	$(CPP)	-g -c -fbounds-check ERROR.cpp -o ERROR.o	
	$(CPP)  -g -c -fbounds-check getOpt.cpp -o getOpt.o

clean:
	-rm *.o
	-rm ciffold
@
