Debian Codegraph @

Makefile

raw symbols ◀ ▶ SCIP
Source reconstructed at patch state 4 of 5 — not the installed (fully patched) source.
5 Debian patches touch this file
1 #
2 # Simple makefile for file latency test program
3 #
4 # fs_mark.c is a modified version of Larry McVoy's lmbench program.
5 #
6 # Modifications include using fsync after wrting to flush to disk and changes to check return
7 # values from syscalls.
8 #
9
10 COBJS= fs_mark.o lib_timing.o
11 CFLAGS+= -O2 -Wall -D_FILE_OFFSET_BITS=64
12
13 BIN=$(DESTDIR)/usr/bin
14
15 all: fs_mark
16
17 fs_mark.o: fs_mark.c fs_mark.h
18
19 fs_mark: fs_mark.o lib_timing.o
20 ${CC} ${CFLAGS} ${LDFLAGS} -o fs_mark fs_mark.o lib_timing.o
21
22 install:
23 install -d $(BIN)
24 install ./fs_mark $(BIN)
25
26 clean:
27 rm -f ${COBJS} fs_mark fs_log.txt
28