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

18 lines
358 B
Makefile
Raw Normal View History

2013-08-21 16:20:52 +00:00
CC = gcc
CFLAGS = -Wall -Os
OBJS = aux.o ecdsa.o secp256k1.o sha256.o rand.o
2013-08-18 15:30:23 +00:00
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)
2013-08-21 18:05:25 +00:00
gcc test-speed.o $(OBJS) -o test-speed
2013-08-18 15:30:23 +00:00
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