mirror of
https://github.com/facebook/zstd.git
synced 2024-11-24 04:06:53 +08:00
make all includes contrib/largeNbDicts
This commit is contained in:
parent
d89fa814c1
commit
a5a77965d3
1
Makefile
1
Makefile
@ -87,6 +87,7 @@ contrib: lib
|
||||
$(MAKE) -C contrib/pzstd all
|
||||
$(MAKE) -C contrib/seekable_format/examples all
|
||||
$(MAKE) -C contrib/adaptive-compression all
|
||||
$(MAKE) -C contrib/largeNbDicts all
|
||||
|
||||
.PHONY: cleanTabs
|
||||
cleanTabs:
|
||||
|
@ -10,6 +10,8 @@
|
||||
PROGDIR = ../../programs
|
||||
LIBDIR = ../../lib
|
||||
|
||||
LIBZSTD = $(LIBDIR)/libzstd.a
|
||||
|
||||
CPPFLAGS+= -I$(LIBDIR) -I$(LIBDIR)/common -I$(LIBDIR)/dictBuilder -I$(PROGDIR)
|
||||
|
||||
CFLAGS ?= -O3
|
||||
@ -25,10 +27,13 @@ default: largeNbDicts
|
||||
|
||||
all : largeNbDicts
|
||||
|
||||
largeNbDicts: LDFLAGS += -lzstd
|
||||
largeNbDicts: bench.o datagen.o xxhash.o largeNbDicts.c
|
||||
largeNbDicts: bench.o datagen.o xxhash.o $(LIBZSTD) largeNbDicts.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
.PHONY: $(LIBZSTD)
|
||||
$(LIBZSTD):
|
||||
$(MAKE) -C $(LIBDIR) libzstd.a
|
||||
|
||||
bench.o : $(PROGDIR)/bench.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $^ -c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user