# $Id: Makefile,v 1.1 2005-09-07 17:12:16 remacle Exp $ # # Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle # # 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. # # Please report all bugs and problems to <gmsh@geuz.org>. include ../variables LIB = ../lib/libGmshMetis.a INCLUDE = -I. CFLAGS = ${OPTIM} ${FLAGS} ${INCLUDE} -DNO_PARALLEL_THREADS -UWIN32 SRC = balance.c \ fm.c \ kwayfm.c \ mcoarsen.c \ minitpart2.c \ mpmetis.c \ pmetis.c \ subdomains.c\ bucketsort.c \ fortran.c \ kwayrefine.c\ memory.c \ minitpart.c \ mrefine2.c\ pqueue.c\ timing.c\ ccgraph.c \ frename.c \ kwayvolfm.c\ mesh.c\ mkmetis.c\ mrefine.c \ refine.c \ util.c\ coarsen.c \ graph.c\ kwayvolrefine.c \ meshpart.c \ mkwayfmh.c \ mutil.c \ separator.c\ compress.c\ initpart.c\ match.c\ mfm2.c \ mkwayrefine.c\ myqsort.c\ sfm.c\ debug.c \ kmetis.c \ mbalance2.c\ mfm.c \ mmatch.c \ ometis.c \ srefine.c\ estmem.c \ kvmetis.c\ mbalance.c \ mincover.c \ mmd.c \ parmetis.c \ stat.c OBJ = ${SRC:.c=.o} .SUFFIXES: .o .c ${LIB}: ${OBJ} ${AR} ${LIB} ${OBJ} ${RANLIB} ${LIB} .c.o: ${CC} ${CFLAGS} -c $< -o ${<:.c=.o} clean: rm -f src/*.o depend: (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ ${CXX} -MM ${CFLAGS} ${SRC} \ ) >Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile rm -f Makefile.new # DO NOT DELETE THIS LINE