makefile 2.48 KB
Newer Older
1
2
#
#             LUFA Library
Dean Camera's avatar
Dean Camera committed
3
#     Copyright (C) Dean Camera, 2010.
4
5
6
7
8
9
10
#              
#  dean [at] fourwalledcubicle [dot] com
#      www.fourwalledcubicle.com
#

# Makefile for the LUFA library itself.

11
LUFA_SRC_FILES =     ./Drivers/USB/LowLevel/DevChapter9.c        \
12
13
                     ./Drivers/USB/LowLevel/Endpoint.c           \
                     ./Drivers/USB/LowLevel/Host.c               \
14
15
16
                     ./Drivers/USB/LowLevel/HostChapter9.c       \
                     ./Drivers/USB/LowLevel/LowLevel.c           \
                     ./Drivers/USB/LowLevel/Pipe.c               \
17
                     ./Drivers/USB/HighLevel/Events.c            \
18
19
                     ./Drivers/USB/HighLevel/USBInterrupt.c      \
                     ./Drivers/USB/HighLevel/USBTask.c           \
20
                     ./Drivers/USB/HighLevel/ConfigDescriptor.c  \
21
22
23
24
25
26
27
28
29
30
                     ./Drivers/USB/Class/Device/Audio.c          \
                     ./Drivers/USB/Class/Device/CDC.c            \
                     ./Drivers/USB/Class/Device/HID.c            \
                     ./Drivers/USB/Class/Device/MIDI.c           \
                     ./Drivers/USB/Class/Device/MassStorage.c    \
                     ./Drivers/USB/Class/Device/RNDIS.c          \
                     ./Drivers/USB/Class/Host/CDC.c              \
                     ./Drivers/USB/Class/Host/HID.c              \
                     ./Drivers/USB/Class/Host/HIDParser.c        \
                     ./Drivers/USB/Class/Host/MassStorage.c      \
31
                     ./Drivers/USB/Class/Host/Printer.c          \
32
                     ./Drivers/USB/Class/Host/StillImage.c       \
33
                     ./Drivers/Board/Temperature.c               \
34
                     ./Drivers/Peripheral/Serial.c               \
35
                     ./Drivers/Peripheral/SerialStream.c         \
36

37
38
39
LUFA_Events.lst:
	@echo
	@echo Generating LUFA event name list...
40
	@$(shell) cat `find ./ -name "*.h"` | grep -E "EVENT_[^\(]*\(" | \
41
	              sed -n -e 's/^.*EVENT_/EVENT_/p' | \
42
	              cut -d'(' -f1 | sort | uniq | tee LUFA_Events.lst
43
44
45
				  
all: LUFA_Events.lst

46
47
clean:
	rm -f $(LUFA_SRC_FILES:%.c=%.o)
48
	rm -f LUFA_Events.lst
49
50
51
52
53
	
clean_list:

doxygen:
	@echo Generating Library Documentation...
54
	( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen -
55
56
57
58
	@echo Documentation Generation Complete.

clean_doxygen:
	rm -rf Documentation