diff options
| author | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
| commit | 69f2911e04ffb1b19eef1fafb8c040af271f656e (patch) | |
| tree | 231d3b6bdc3a202f7c255bfcf7bf2c36e32cee9e /benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile | |
creating branch for adding support for CUDA 3.x and Fermi
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829]
Diffstat (limited to 'benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile')
| -rw-r--r-- | benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile b/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile new file mode 100644 index 0000000..0254eec --- /dev/null +++ b/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/Programs/Makefile @@ -0,0 +1,56 @@ +include ../Makefile.in + +BINDIR = ../Graphs + +INCLUDES = -I./ -I../ParMETISLib $(INCDIR) +CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + + +LIBSDIR = -L.. $(LIBDIR) +LIBS = -lparmetis -lmetis $(XTRALIBS) -lm +PARMETISLIB = ../libparmetis.a ../libmetis.a + + +PTESTOBJS = ptest.o io.o adaptgraph.o +MESHTESTOBJS = mtest.o io.o +PARMETISOBJS = parmetis.o io.o adaptgraph.o + + +.c.o: + $(CC) $(CFLAGS) -c $*.c + + +default: $(BINDIR)/ptest$(VERNUM) $(BINDIR)/mtest$(VERNUM) + +$(BINDIR)/mtest$(VERNUM): $(MESHTESTOBJS) $(PARMETISLIB) + $(LD) -o $@ $(MESHTESTOBJS) $(LIBSDIR) $(LIBS) + chmod 744 $@ + +$(BINDIR)/ptest$(VERNUM): $(PTESTOBJS) $(PARMETISLIB) + $(LD) -o $@ $(PTESTOBJS) $(LIBSDIR) $(LIBS) + chmod 744 $@ + +clean: + rm -f *.o ;\ + rm -f $(BINDIR)/ptest$(VERNUM) + rm -f $(BINDIR)/mtest$(VERNUM) + +realclean: + rm -f *.o ;\ + rm -f $(BINDIR)/ptest$(VERNUM) + rm -f $(BINDIR)/mtest$(VERNUM) + + +checkin: + @for file in *.[c,h]; \ + do \ + ci -u -m'Maintance' $$file;\ + done + +checkin2: + @for file in *.[c,h]; \ + do \ + ci $$file;\ + rcs -U $$file;\ + co $$file;\ + done |
