/
githubmirror
/
zstd
Обзор
Документация
Войти
/
githubmirror
/
zstd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
contrib/externalSequenceProducer/Makefile
40 строк
1 KB
Elliot Gorokhovsky
Rename "External Matchfinder" to "Block-Level Sequence Producer" (#3484)
10 фев 2023, 01:01
Не верифицирован
10 фев 2023, 01:01
ff42ed1
Код
Авторство
О чём код?
# ################################################################ # Copyright (c) Yann Collet, Meta Platforms, Inc. # All rights reserved. # # This source code is licensed under both the BSD-style license (found in the # LICENSE file in the root directory of this source tree) and the GPLv2 (found # in the COPYING file in the root directory of this source tree). # ################################################################ PROGDIR = ../../programs LIBDIR = ../../lib LIBZSTD = $(LIBDIR)/libzstd.a CPPFLAGS+= -I$(LIBDIR) -I$(LIBDIR)/compress -I$(LIBDIR)/common CFLAGS ?= -O3 CFLAGS += -std=gnu99 DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \ -Wstrict-aliasing=1 -Wswitch-enum \ -Wstrict-prototypes -Wundef -Wpointer-arith \ -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \ -Wredundant-decls CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS) default: externalSequenceProducer all: externalSequenceProducer externalSequenceProducer: sequence_producer.c main.c $(LIBZSTD) $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) -o $@ .PHONY: $(LIBZSTD) $(LIBZSTD): $(MAKE) -C $(LIBDIR) libzstd.a CFLAGS="$(CFLAGS)" clean: $(RM) *.o $(MAKE) -C $(LIBDIR) clean > /dev/null $(RM) externalSequenceProducer