Skip to content
Snippets Groups Projects
makefile 540 B
Newer Older
  • Learn to ignore specific revisions
  • #
    #             LUFA Library
    #     Copyright (C) Dean Camera, 2010.
    #              
    #  dean [at] fourwalledcubicle [dot] com
    #      www.fourwalledcubicle.com
    #
    
    # Makefile to build all the LUFA USB Bootloaders. Call with "make all" to
    # rebuild all bootloaders.
    
    # Bootloaders are pre-cleaned before each one is built, to ensure any
    # custom LUFA library build options are reflected in the compiled
    # code.
    
    all:
    	$(MAKE) -C DFU clean
    	$(MAKE) -C DFU all
    
    	$(MAKE) -C CDC clean
    	$(MAKE) -C CDC all
    
    %:
    	$(MAKE) -C DFU $@
    	$(MAKE) -C CDC $@