# Copyright 2026 Stephen Bouche
# SPDX-License-Identifier: GPL-3.0-or-later
# cppm_input's native library. cppm_dec.[ch] are the firmware's former
# driver/cppm_dec.[ch] unchanged (the firmware no longer has them).
TARGET = cppm

SOURCES = code.c cppm_core.c cppm_dec.c

# Copy loops stay loops: as calls to memcpy and memmove, those (which a
# library links in itself) were 600 bytes of a 3.4 kB library
USE_OPT = -fno-tree-loop-distribute-patterns

VESC_C_LIB_PATH=../../c_libs/
include $(VESC_C_LIB_PATH)rules.mk
