mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
14 lines
213 B
Makefile
14 lines
213 B
Makefile
|
CC = gcc
|
||
|
CFLAGS = -Wall
|
||
|
OBJS = aux.o ecdsa.o secp256k1.o sha256.o rand.o test.o
|
||
|
NAME = test
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||
|
|
||
|
$(NAME): $(OBJS)
|
||
|
gcc $(OBJS) -o $(NAME) -lcrypto
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJS) $(NAME)
|