blob: fa0f0afdbe3de82a6ae3dfe7568ded3585acaaa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Makefile
#
#
TARGET = test_fsync
XFLAGS =
CFLAGS = -O
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
|