Install USB headers upon 'make install'.

This commit is contained in:
Uwe Hermann 2010-12-29 17:09:22 +01:00
parent 34fd228bf9
commit 6a16711bee
1 changed files with 2 additions and 0 deletions

View File

@ -46,9 +46,11 @@ examples: lib
install: build
@printf " INSTALL headers\n"
$(Q)$(INSTALL) -d $(INCDIR)/libopenstm32
$(Q)$(INSTALL) -d $(INCDIR)/usb
$(Q)$(INSTALL) -d $(LIBDIR)
$(Q)$(INSTALL) -m 0644 include/libopenstm32.h $(INCDIR)
$(Q)$(INSTALL) -m 0644 include/libopenstm32/*.h $(INCDIR)/libopenstm32
$(Q)$(INSTALL) -m 0644 include/usb/*.h $(INCDIR)/usb
@printf " INSTALL lib\n"
$(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR)
@printf " INSTALL ldscript\n"