genzipf: more features
[fio.git] / Makefile
index f59f809616e73b73a1d132f9e2fc318ab5b75347..0db757b0b5fd877ff77d75c073b0688dc4ca45a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-CC     ?= gcc
+ifneq ($(origin CC), environment)
+CC     = gcc
+endif
 DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
 CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
        $(DEBUGFLAGS)
@@ -78,7 +80,7 @@ T_IEEE_PROGS = t/ieee754
 
 T_ZIPF_OBS = t/genzipf.o
 T_ZIPF_OBJS += rbtree.o t/log.o lib/ieee754.o lib/rand.o lib/zipf.o t/genzipf.o
-T_ZIPF_PROGS = t/genzip
+T_ZIPF_PROGS = t/genzipf
 
 T_OBJS = $(T_SMALLOC_OBJS)
 T_OBJS += $(T_IEEE_OBJS)