mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
28 lines
689 B
Makefile
28 lines
689 B
Makefile
# HDF5 Library Test Makefile(.in) -*- makefile -*-
|
|
#
|
|
# Copyright (C) 1997 National Center for Supercomputing Applications.
|
|
# All rights reserved.
|
|
#
|
|
#
|
|
@COMMENCE@
|
|
|
|
# Add include directory to the C preprocessor flags.
|
|
CPPFLAGS=-I. -I../src @CPPFLAGS@
|
|
|
|
# These are our main targets:
|
|
PROGS=testhdf5
|
|
TESTS=$(PROGS)
|
|
|
|
# Source and object files for programs...
|
|
PROG_SRC=testhdf5.c tfile.c theap.c tmeta.c tohdr.c tstab.c th5t.c th5p.c
|
|
PROG_OBJ=$(PROG_SRC:.c=.o)
|
|
|
|
# Private header files (not to be installed)...
|
|
PRIVATE_HDR=testhdf5.h
|
|
|
|
# How to build the programs...
|
|
testhdf5: $(PROG_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(PROG_OBJ) ../src/libhdf5.a
|
|
|
|
@CONCLUDE@
|