Blame examples/Makefile.lite

Packit Service 065837
#  FLAC - Free Lossless Audio Codec
Packit Service 065837
#  Copyright (C) 2001-2009  Josh Coalson
Packit Service 065837
#  Copyright (C) 2011-2016  Xiph.Org Foundation
Packit Service 065837
#
Packit Service 065837
#  This file is part the FLAC project.  FLAC is comprised of several
Packit Service 065837
#  components distributed under different licenses.  The codec libraries
Packit Service 065837
#  are distributed under Xiph.Org's BSD-like license (see the file
Packit Service 065837
#  COPYING.Xiph in this distribution).  All other programs, libraries, and
Packit Service 065837
#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
Packit Service 065837
#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
Packit Service 065837
#  FLAC distribution contains at the top the terms under which it may be
Packit Service 065837
#  distributed.
Packit Service 065837
#
Packit Service 065837
#  Since this particular file is relevant to all components of FLAC,
Packit Service 065837
#  it may be distributed under the Xiph.Org license, which is the least
Packit Service 065837
#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
Packit Service 065837
#  distribution.
Packit Service 065837
Packit Service 065837
.PHONY: all example_c_decode_file example_c_encode_file example_cpp_decode_file example_cpp_encode_file
Packit Service 065837
all: example_c_decode_file example_c_encode_file example_cpp_decode_file example_cpp_encode_file
Packit Service 065837
Packit Service 065837
DEFAULT_CONFIG = release
Packit Service 065837
Packit Service 065837
CONFIG = $(DEFAULT_CONFIG)
Packit Service 065837
Packit Service 065837
debug   : CONFIG = debug
Packit Service 065837
valgrind: CONFIG = valgrind
Packit Service 065837
release : CONFIG = release
Packit Service 065837
Packit Service 065837
debug   : all
Packit Service 065837
valgrind: all
Packit Service 065837
release : all
Packit Service 065837
Packit Service 065837
example_c_decode_file:
Packit Service 065837
	(cd c/decode/file && $(MAKE) -f Makefile.lite $(CONFIG))
Packit Service 065837
Packit Service 065837
example_c_encode_file:
Packit Service 065837
	(cd c/encode/file && $(MAKE) -f Makefile.lite $(CONFIG))
Packit Service 065837
Packit Service 065837
example_cpp_decode_file:
Packit Service 065837
	(cd cpp/decode/file && $(MAKE) -f Makefile.lite $(CONFIG))
Packit Service 065837
Packit Service 065837
example_cpp_encode_file:
Packit Service 065837
	(cd cpp/encode/file && $(MAKE) -f Makefile.lite $(CONFIG))
Packit Service 065837
Packit Service 065837
clean:
Packit Service 065837
	-(cd c/decode/file && $(MAKE) -f Makefile.lite clean)
Packit Service 065837
	-(cd c/encode/file && $(MAKE) -f Makefile.lite clean)
Packit Service 065837
	-(cd cpp/decode/file && $(MAKE) -f Makefile.lite clean)
Packit Service 065837
	-(cd cpp/encode/file && $(MAKE) -f Makefile.lite clean)