trezor-mcu/Makefile

38 lines
489 B
Makefile
Raw Permalink Normal View History

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