postgresql/src/tools/fsync/Makefile
Bruce Momjian 9f2696f266 Add fsync test program. It tests fsync to see if times for fsync are the
same when done on the write() ile descriptor and a new descriptor.

it also times various fsync methods.
2004-03-18 03:56:59 +00:00

22 lines
360 B
Makefile

#
# Makefile
#
#
TARGET = test_fsync
XFLAGS =
CFLAGS = -g -Wall
LIBS =
$(TARGET) : test_fsync.o
$(CC) -o $(TARGET) $(XFLAGS) $(CFLAGS) test_fsync.o $(LIBS)
test_fsync.o : test_fsync.c
$(CC) -c $(XFLAGS) $(CFLAGS) test_fsync.c
clean:
rm -f *.o $(TARGET) log core
install:
make clean
make CFLAGS=-O
install -s -o bin -g bin $(TARGET) /usr/local/bin