add missing libcommon.mk

This commit is contained in:
Harald Welte 2021-05-09 12:05:46 +02:00
parent ea39ae17d7
commit 7527cab6d8
1 changed files with 6 additions and 0 deletions

6
mk/libcommon.mk Normal file
View File

@ -0,0 +1,6 @@
GIT_VERSION:=$(shell git describe --tags)
LIBCOMMON_DIR = ../../libcommon
CPPFLAGS += -I$(LIBCOMMON_DIR)/include -D_GNU_SOURCE -DGIT_VERSION=\"$(GIT_VERSION)\"
vpath %.c $(LIBCOMMON_DIR)/src/