make: Add makefile LC3_PLUS options

This commit is contained in:
Antoine Soulier
2023-12-27 16:15:59 -08:00
parent d967d8e63b
commit 0aac2a41e1

View File

@@ -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