Makefile 351 B

1234567891011121314151617
  1. RPATH = $(ROOT)/src/usb
  2. OBJS += config.o
  3. OBJS += core.o
  4. OBJS += cdc_acm.o
  5. OBJS-$(stm32f1) += hw_usbd.o
  6. OBJS-$(stm32f1) += hw_f1.o
  7. OBJS-$(stm32f7) += hw_dwc_otg.o
  8. OBJS-$(stm32f7) += hw_f7.o
  9. OBJS-$(at32f4) += hw_dwc_otg.o
  10. OBJS-$(at32f4) += hw_usbd_at32f4.o
  11. OBJS-$(at32f4) += hw_at32f4.o
  12. $(OBJS) $(OBJS-y): CFLAGS += -include $(ROOT)/src/usb/defs.h