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