xref: /linux/tools/crypto/ccp/Makefile (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
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