1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
trezor-firmware/Makefile

18 lines
357 B
Makefile
Raw Normal View History

2013-08-17 12:20:15 +00:00
CC = gcc
CFLAGS = -Wall
2013-08-18 15:30:23 +00:00
OBJS = aux.o ecdsa.o secp256k1.o sha256.o rand.o
all: test-speed test-verify
2013-08-17 12:20:15 +00:00
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
2013-08-18 15:30:23 +00:00
test-speed: test-speed.o $(OBJS)
gcc test-speed.o $(OBJS) -o test-speed -lcrypto
test-verify: test-verify.o $(OBJS)
gcc test-verify.o $(OBJS) -o test-verify -lcrypto
2013-08-17 12:20:15 +00:00
clean:
2013-08-18 15:30:23 +00:00
rm -f $(OBJS) test-speed test-verify