xref: /openbmc/linux/tools/crypto/ccp/Makefile (revision 3ddc8b84)
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