X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=Makefile.FreeBSD;h=ce7b05663b64333b627826a1cb6c2cbe646287da;hp=a2232890d24eea3374e6042717abfe57426a3ad6;hb=c7c280ed2e4f836bd8e9e125d55d097539b70e21;hpb=32cd46a085ac60f4f8b085e2d65ebfc6100bb8c5 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)