diff options
author | Antoine Soulier <asoulier@google.com> | 2023-12-27 16:15:59 -0800 |
---|---|---|
committer | Antoine Soulier <asoulier@google.com> | 2023-12-28 10:16:57 -0800 |
commit | 0aac2a41e135930e200865dd37127c4d104542b0 (patch) | |
tree | 910c89ce53f0f7672e063f8f4b7e0b78edcfa718 | |
parent | d967d8e63b1a9c31aae8a86cf6a23b51781e701f (diff) | |
download | liblc3-0aac2a41e135930e200865dd37127c4d104542b0.tar.gz |
make: Add makefile LC3_PLUS options
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,14 @@ LD := $(if $(LD)=ld,$(CC),$(LD)) CFLAGS := $(if $(DEBUG),-O0 -g,-O3) CFLAGS += -std=c11 -Wall -Wextra -Wdouble-promotion -Wvla -pedantic +ifneq ($(LC3_PLUS),) + DEFINE += LC3_PLUS=$(LC3_PLUS) +endif + +ifneq ($(LC3_PLUS_HR),) + DEFINE += LC3_PLUS_HR=$(LC3_PLUS_HR) +endif + # # Declarations |