blob: 9d45ea555d093b7b8a07b992a9f467273380e315 [file] [log] [blame]
## @file
# Windows makefile for 'Brotli' module build.
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
!INCLUDE ..\Makefiles\ms.common
CFLAGS = $(CFLAGS) /W2
APPNAME = Brotli
#LIBS = $(LIB_PATH)\Common.lib
COMMON_OBJ = common\dictionary.obj
DEC_OBJ = \
dec\bit_reader.obj \
dec\decode.obj \
dec\huffman.obj \
dec\state.obj
ENC_OBJ = \
enc\backward_references.obj \
enc\bit_cost.obj \
enc\block_splitter.obj \
enc\brotli_bit_stream.obj \
enc\cluster.obj \
enc\compress_fragment.obj \
enc\compress_fragment_two_pass.obj \
enc\encode.obj \
enc\entropy_encode.obj \
enc\histogram.obj \
enc\literal_cost.obj \
enc\memory.obj \
enc\metablock.obj \
enc\static_dict.obj \
enc\utf8_util.obj
OBJECTS = \
tools\bro.obj \
$(COMMON_OBJ) \
$(DEC_OBJ) \
$(ENC_OBJ)
!INCLUDE ..\Makefiles\ms.app
all: $(BIN_PATH)\BrotliCompress.bat
$(BIN_PATH)\BrotliCompress.bat: BrotliCompress.bat
copy BrotliCompress.bat $(BIN_PATH)\BrotliCompress.bat /Y
cleanall: localCleanall
localCleanall:
del /f /q $(BIN_PATH)\BrotliCompress.bat > nul