X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=Makefile.FreeBSD;h=ce7b05663b64333b627826a1cb6c2cbe646287da;hp=a2232890d24eea3374e6042717abfe57426a3ad6;hb=5c4e1dbc4ec6ee963220c5f4e64a04cd6130dc81;hpb=6dfd46b99af38cc1e5f702f53c59212129fe615e diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index a2232890..ce7b0566 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -3,10 +3,12 @@ CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PROGS = fio SCRIPTS = fio_generate_plots +OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o + all: depend $(PROGS) $(SCRIPTS) fio: fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) -lpthread -laio -lm -lrt + $(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm clean: -rm -f *.o .depend cscope.out $(PROGS)