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