OBJS += engines/sync.o
OBJS += engines/null.o
OBJS += engines/net.o
+OBJS += engines/syslet-rw.o
INSTALL = install
prefix = /usr/local
bindir = $(prefix)/bin
-libdir = $(prefix)/lib/fio
all: $(PROGS) $(SCRIPTS)
$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -lm -ldl -laio -lrt
clean:
- -rm -f *.o .depend cscope.out $(PROGS) engines/*.o
+ -rm -f *.o .depend cscope.out $(PROGS) engines/*.o core.* core
depend:
- @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+ @$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c 1> .depend
cscope:
@cscope -b