summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 13eeea4..022f392 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,7 +34,7 @@ $(TARGET): $(OBJ)
$(AR) $(ARFLAGS) $(TARGET) $(OBJ)
$(RANLIB) $(TARGET)
-all test: $(TARGET)
+all test: $(TARGET) debug_hdf5
debug: $(OBJ)
$(AR) $(ARFLAGS) $(TARGET) $(OBJ)
@@ -46,6 +46,12 @@ clean:
###########################################################################
+debug_hdf5: $(TARGET) debug.o
+ $(CC) -o debug debug.o -L. -lhdf5
+
+debug.o: debug.c $(INCL)
+ $(CC) $(CFLAGS) debug.c
+
H5.o: H5.c $(INCL) H5private.h H5proto.h
$(CC) $(CFLAGS) H5.c