diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-07-30 21:17:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-07-30 21:17:56 (GMT) |
commit | 03997b1f368f935ab4b3a9a878fd3587cbc74862 (patch) | |
tree | 193909bb46d7310f8ea8d31308cddc8850530220 /test/Makefile | |
parent | ad9255a57faca8454d0a5f2f955001eed32833ea (diff) | |
download | hdf5-03997b1f368f935ab4b3a9a878fd3587cbc74862.zip hdf5-03997b1f368f935ab4b3a9a878fd3587cbc74862.tar.gz hdf5-03997b1f368f935ab4b3a9a878fd3587cbc74862.tar.bz2 |
[svn-r2] Oops...
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..ec8bcf5 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,50 @@ +### Name of target +TARGET = testhdf5 + +# +# PART 2: various choices +# + +### -DDEBUG Debugging options on +DEFS = -I../src + +################################################ +## no changes required below this line ## +################################################ + +INCL = ../src/hdf5.h testhdf5.h + +OBJ = testhdf5.o tmeta.o tfile.o theap.o + +LIBS = ../src/libhdf5.a + +$(TARGET): $(OBJ) $(LIBS) + $(CC) -o $(TARGET) $(OBJ) $(LIBS) + +all: $(TARGET) + +test: $(TARGET) + ./$(TARGET) + +debug: $(OBJ) + purify $(CC) -o $(TARGET) $(OBJ) $(LIBS) + +clean: + -rm -f *.o core *.core $(TARGET) + -rm -f *.bak *.h5 + +########################################################################### + +testhdf5.o: testhdf5.c $(INCL) + $(CC) $(CFLAGS) $(DEFS) testhdf5.c + +tmeta.o: tmeta.c $(INCL) + $(CC) $(CFLAGS) $(DEFS) tmeta.c + +tfile.o: tfile.c $(INCL) + $(CC) $(CFLAGS) $(DEFS) tfile.c + +theap.o: theap.c $(INCL) + $(CC) $(CFLAGS) $(DEFS) theap.c + + |