Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ NAME = libteep
CFLAGS = -Wall -g -fPIC
INC = $(CMD_INC) -I ./inc
SRCS = \
src/cose_print_common.c \
src/teep_common.c \
src/teep_cose.c \
src/teep_message_decode.c \
Expand Down Expand Up @@ -35,7 +36,7 @@ ifdef suit
INC += -I ../libcsuit/inc -I ../libcsuit/examples/inc
endif

.PHONY: all so install uninstall build_test test clean
.PHONY: all so install uninstall build_test test examples example-teep-over-http-client example-cose example-parser example-sign example-eat-tool clean

all: $(NAME).a

Expand Down Expand Up @@ -84,11 +85,26 @@ build_test:
test: build_test
$(MAKE) -C test MBEDTLS=$(MBEDTLS) run

examples: example-teep-over-http-client example-cose example-parser example-sign example-eat-tool

example-teep-over-http-client:
$(MAKE) -f examples/teep_over_http_client/Makefile MBEDTLS=$(MBEDTLS)

example-cose:
$(MAKE) -f examples/cose/Makefile MBEDTLS=$(MBEDTLS)

example-parser:
$(MAKE) -f examples/parser/Makefile MBEDTLS=$(MBEDTLS)

example-sign:
$(MAKE) -f examples/sign/Makefile MBEDTLS=$(MBEDTLS)

example-eat-tool:
$(MAKE) -f examples/eat_tool/Makefile

generate:
$(MAKE) -C testfiles

clean:
$(RM) $(OBJS) $(NAME).a $(NAME).so
$(MAKE) -C test clean


56 changes: 0 additions & 56 deletions Makefile.client

This file was deleted.

73 changes: 0 additions & 73 deletions Makefile.cose

This file was deleted.

83 changes: 0 additions & 83 deletions Makefile.cwt

This file was deleted.

71 changes: 0 additions & 71 deletions Makefile.parser

This file was deleted.

49 changes: 0 additions & 49 deletions Makefile.sign

This file was deleted.

Loading
Loading