lander/lnm/config.mk

17 lines
564 B
Makefile
Raw Normal View History

2023-11-21 09:36:58 +01:00
LIB_FILENAME = liblnm.a
BUILD_DIR = build
SRC_DIR = src
TEST_DIR = test
2023-11-22 15:19:21 +01:00
THIRDPARTY_DIR = thirdparty
2023-11-21 09:36:58 +01:00
PUB_INC_DIR = include
2023-11-22 15:19:21 +01:00
INC_DIRS = $(PUB_INC_DIR) src/_include $(THIRDPARTY_DIR)/include
2023-11-21 09:36:58 +01: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