Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ INCLUDES=-I$(HDF5_DIR)/include
CFLAGS = $(DEBUG) -fPIC $(INCLUDES) -Wall
#LIBS=-L$(HDF5_DIR)/lib -L$(MPI_DIR)/lib -lhdf5 -lz
LIBS=-L$(HDF5_DIR)/lib -lhdf5 -lz
DYNLDFLAGS = $(DEBUG) -dynamiclib -current_version 1.0 -fPIC $(LIBS)
DYNLDFLAGS = -dynamiclib -current_version 1.0
LDFLAGS = $(DEBUG) $(LIBS)
ARFLAGS = rs

# Shared library VOL connector
DYNEXT = dylib
DYNSRC = H5VLprovnc.c
DYNOBJ = $(DYNSRC:.c=.o)
DYNLIB = libh5prov.dylib
DYNDBG = libh5prov.dylib.dSYM
DYNLIB = libh5prov.$(DYNEXT)
DYNDBG = libh5prov.$(DYNEXT).dSYM

# Testcase section
EXSRC = vpicio_uni_h5.c
Expand All @@ -32,7 +33,7 @@ $(EXEXE): $(EXSRC) $(STATLIB) $(DYNLIB)
$(CC) $(CFLAGS) $^ -o $(EXEXE) $(LDFLAGS)

$(DYNLIB): $(DYNSRC)
$(CC) $(CFLAGS) $(DYNLDFLAGS) $^ -o $@
$(CC) $(CFLAGS) $(DYNLDFLAGS) $(LIBS) $^ -o $@

.PHONY: clean all
clean:
Expand Down