
* Add the rockstar package * Add rockstar to yt. * Correct signature of prep_yt. * Correct rockstar package installation process Needed to change the way the necessary prefixes are found as well as how the completed package is copied. There should probably be a way to do the copying in a more 'spack' way. * Add license * Add description. * Set no hdf5 variant as default. * Use copy_tree for copying files * Use MakefilePackage * Address concerns from @adamjstewart * Fix flake8 errors.
14 lines
864 B
Diff
14 lines
864 B
Diff
diff --git a/Makefile b/Makefile
|
|
index fafba4b..a21ef9e 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -6,7 +6,7 @@ PROFFLAGS = -lm -g -pg -O2 -std=c99
|
|
CC = gcc
|
|
CFILES = rockstar.c check_syscalls.c fof.c groupies.c subhalo_metric.c potential.c nfw.c jacobi.c fun_times.c interleaving.c universe_time.c hubble.c integrate.c distance.c config_vars.c config.c bounds.c inthash.c io/read_config.c client.c server.c merger.c inet/socket.c inet/rsocket.c inet/address.c io/meta_io.c io/io_internal.c io/io_ascii.c io/stringparse.c io/io_gadget.c io/io_generic.c io/io_art.c io/io_tipsy.c io/io_bgc2.c io/io_util.c io/io_arepo.c io/io_hdf5.c
|
|
DIST_FLAGS =
|
|
-HDF5_FLAGS = -DH5_USE_16_API -lhdf5 -DENABLE_HDF5 -I/opt/local/include -L/opt/local/lib
|
|
+HDF5_FLAGS = -DH5_USE_16_API -lhdf5 -DENABLE_HDF5 -I$(HDF5_INC_DIR) -L$(HDF5_LIB_DIR)
|
|
|
|
all:
|
|
@make reg EXTRA_FLAGS="$(OFLAGS)"
|