mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
ce12d2b8a9
We're going to reuse the database controllers for the accounting plugin
24 lines
471 B
Makefile
24 lines
471 B
Makefile
#! /usr/bin/make
|
|
|
|
DB_LIB_SRC := \
|
|
db/bindings.c \
|
|
db/exec.c \
|
|
db/utils.c
|
|
|
|
DB_DRIVERS := \
|
|
db/db_postgres.c \
|
|
db/db_sqlite3.c
|
|
|
|
DB_SRC := $(DB_LIB_SRC) $(DB_DRIVERS)
|
|
DB_HEADERS := $(DB_LIB_SRC:.c=.h) db/common.h
|
|
|
|
DB_OBJS := $(DB_LIB_SRC:.c=.o) $(DB_DRIVERS:.c=.o)
|
|
$(DB_OBJS): $(DB_HEADERS)
|
|
|
|
# Make sure these depend on everything.
|
|
ALL_C_SOURCES += $(DB_SRC)
|
|
ALL_C_HEADERS += $(DB_HEADERS)
|
|
|
|
# DB_SQL_FILES is the list of database files
|
|
DB_SQL_FILES := db/exec.c
|