1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
trezor-firmware/legacy/Makefile

44 lines
588 B
Makefile
Raw Normal View History

2017-12-13 18:38:51 +00:00
ifneq ($(EMULATOR),1)
OBJS += startup.o
2017-12-13 18:38:51 +00:00
endif
2014-04-29 12:26:51 +00:00
OBJS += buttons.o
2019-01-25 10:58:23 +00:00
OBJS += common.o
OBJS += flash.o
2014-04-29 12:26:51 +00:00
OBJS += layout.o
OBJS += oled.o
OBJS += rng.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
OBJS += supervise.o
2017-12-13 18:38:51 +00:00
ifneq ($(EMULATOR),1)
OBJS += timer.o
2017-12-13 18:38:51 +00:00
endif
OBJS += usb_standard.o
OBJS += usb21_standard.o
OBJS += webusb.o
OBJS += winusb.o
2014-04-29 12:26:51 +00:00
OBJS += gen/bitmaps.o
OBJS += gen/fonts.o
libtrezor.a: $(OBJS)
include Makefile.include
2016-05-11 12:38:04 +00:00
libtrezor.a:
@printf " AR $@\n"
$(Q)$(AR) rcs $@ $^
2016-05-11 12:38:04 +00:00
.PHONY: vendor
vendor:
git submodule update --init --recursive