Files
mars-matrixssl/crypto/test/dhperf/Makefile
2016-10-13 13:09:29 +03:00

34 lines
657 B
Makefile

#
# Makefile for crypto testing
#
# Copyright (c) 2013-2016 INSIDE Secure Corporation. All Rights Reserved.
#
# SRC and MATRIXSSL_ROOT must be defined before including common.mk
TEST_SRC:=dhperf.c
SRC:=$(TEST_SRC)
MATRIXSSL_ROOT:=../../..
include $(MATRIXSSL_ROOT)/common.mk
# Generated files
TEST_EXE:=dhperf
# Linked files
STATIC:=\
$(MATRIXSSL_ROOT)/crypto/libcrypt_s.a \
$(MATRIXSSL_ROOT)/core/libcore_s.a
all: compile
compile: $(OBJS) $(TEST_EXE)
# Additional Dependencies
$(OBJS): $(MATRIXSSL_ROOT)/common.mk Makefile $(wildcard *.h)
$(TEST_EXE): $(TEST_SRC:.c=.o) $(STATIC)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f $(OBJS) $(TEST_EXE)