2017-12-13 18:38:51 +00:00
|
|
|
ifneq ($(EMULATOR),1)
|
2017-08-08 10:59:39 +00:00
|
|
|
OBJS += startup.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += buttons.o
|
|
|
|
OBJS += layout.o
|
|
|
|
OBJS += oled.o
|
|
|
|
OBJS += rng.o
|
|
|
|
OBJS += serialno.o
|
2017-12-13 18:38:51 +00:00
|
|
|
|
|
|
|
ifneq ($(EMULATOR),1)
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += setup.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += util.o
|
|
|
|
OBJS += memory.o
|
2017-12-13 18:38:51 +00:00
|
|
|
|
|
|
|
ifneq ($(EMULATOR),1)
|
2016-11-17 19:07:41 +00:00
|
|
|
OBJS += timer.o
|
2017-12-13 18:38:51 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += gen/bitmaps.o
|
|
|
|
OBJS += gen/fonts.o
|
|
|
|
|
|
|
|
libtrezor.a: $(OBJS)
|
2016-05-24 18:27:45 +00:00
|
|
|
$(AR) rcs libtrezor.a $(OBJS)
|
2014-04-29 12:26:51 +00:00
|
|
|
|
|
|
|
include Makefile.include
|
2016-05-11 12:38:04 +00:00
|
|
|
|
|
|
|
.PHONY: vendor
|
|
|
|
|
|
|
|
vendor:
|
|
|
|
git submodule update --init
|