2023-10-12 10:06:20 +02:00
|
|
|
LIB_FILENAME = liblsm.a
|
|
|
|
|
|
|
|
BUILD_DIR = build
|
|
|
|
SRC_DIR = src
|
|
|
|
TEST_DIR = test
|
2023-10-13 13:07:40 +02:00
|
|
|
INC_DIRS = include src/_include
|
2023-10-12 10:06:20 +02:00
|
|
|
|
|
|
|
# -MMD: generate a .d file for every source file. This file can be imported by
|
|
|
|
# make and makes make aware that a header file has been changed, ensuring an
|
|
|
|
# object file is also recompiled if only a header is changed.
|
|
|
|
# -MP: generate a dummy target for every header file (according to the docs it
|
|
|
|
# prevents some errors when removing header files)
|
|
|
|
CFLAGS = -MMD -MP -g
|