mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-22 00:40:41 +00:00
This is a temporary fix that will be reverted once the framework repository will have CI checks. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
24 lines
381 B
Makefile
24 lines
381 B
Makefile
CFLAGS ?= -Wall -Werror -std=c99 -D_XOPEN_SOURCE=1 -D_POSIX_C_SOURCE=200809L
|
|
|
|
ifeq ($(DEBUG),1)
|
|
CFLAGS += -DDEBUG -O0 -g
|
|
endif
|
|
|
|
.PHONY: all lib test run
|
|
|
|
all: lib test
|
|
|
|
lib:
|
|
$(MAKE) -C src CFLAGS="$(CFLAGS)"
|
|
|
|
test: lib
|
|
$(MAKE) -C test CFLAGS="$(CFLAGS)"
|
|
|
|
clean:
|
|
rm -f $(PSA_LIB) $(PSA_LIB_OBJS)
|
|
$(MAKE) -C test clean
|
|
$(MAKE) -C src clean
|
|
|
|
run: test
|
|
cd test && ./run_test.sh
|