mirror of
https://github.com/google/liblc3.git
synced 2026-05-30 00:17:01 +00:00
make: Move lib make rules to src dir, consistency with meson build
This commit is contained in:
@@ -82,7 +82,17 @@ endef
|
||||
.PHONY: default
|
||||
default:
|
||||
|
||||
include makefile.mk
|
||||
|
||||
INCLUDE += include
|
||||
|
||||
SRC_DIR = src
|
||||
include $(SRC_DIR)/makefile.mk
|
||||
|
||||
TOOLS_DIR = tools
|
||||
-include $(TOOLS_DIR)/makefile.mk
|
||||
|
||||
TEST_DIR := test
|
||||
-include $(TEST_DIR)/makefile.mk
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
INCLUDE += include
|
||||
SRC_DIR := src
|
||||
|
||||
liblc3_src += \
|
||||
$(SRC_DIR)/attdet.c \
|
||||
$(SRC_DIR)/bits.c \
|
||||
@@ -36,6 +33,3 @@ liblc3_cflags += -ffast-math
|
||||
$(eval $(call add-lib,liblc3))
|
||||
|
||||
default: liblc3
|
||||
|
||||
-include tools/makefile.mk
|
||||
-include test/makefile.mk
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TEST_DIR := test
|
||||
|
||||
test_py:
|
||||
$(V)cd $(TEST_DIR) && python3 setup.py && PYTHONPATH=build python3 run.py
|
||||
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TOOLS_DIR = tools
|
||||
|
||||
|
||||
elc3_src += \
|
||||
$(TOOLS_DIR)/elc3.c \
|
||||
$(TOOLS_DIR)/lc3bin.c \
|
||||
|
||||
Reference in New Issue
Block a user