xref: /linux/tools/crypto/ccp/Makefile (revision b8fc42dc065742bc68df6a61a2aff8cbe364fa17)
1# SPDX-License-Identifier: GPL-2.0-only
2CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include
3
4TARGET = dbc_library.so
5
6all: $(TARGET)
7
8dbc_library.so: dbc.c
9	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $<
10	chmod -x $@
11
12clean:
13	$(RM) $(TARGET)
14