-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
77 lines (63 loc) · 1.53 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# build program
bin_PROGRAMS = avrprog2
CXXFLAGS += -O2 -Wall -std=c++0x
configfilesdir = @datadir@/@PACKAGE@
homeconfigfilesdir = .@PACKAGE@
avrprog2_CXXFLAGS = -DCONFIG_DIR="\"$(configfilesdir)/\"" -DHOME_CONFIG_DIR="\"$(homeconfigfilesdir)/\""
avrprog2_SOURCES = \
src/avrprog.h \
src/CAVRDevice.cpp \
src/CAVRDevice.h \
src/CAvrProgCommands.cpp \
src/CAvrProgCommands.h \
src/CAVRprog.cpp \
src/CAVRprog.h \
src/CEEPROMOptions.cpp \
src/CEEPROMOptions.h \
src/CFlashOptions.cpp \
src/CFlashOptions.h \
src/CFormat.cpp \
src/CFormat.h \
src/CFusesOptions.cpp \
src/CFusesOptions.h \
src/CHexFile.cpp \
src/CHexFile.h \
src/CLArgumentException.cpp \
src/CLArgumentException.h \
src/CMemoryOptions.cpp \
src/CMemoryOptions.h \
src/COut.cpp \
src/COut.h \
src/CProgramOptions.cpp \
src/CProgramOptions.h \
src/CProgressbar.cpp \
src/CProgressbar.h \
src/CUSBCommunication.cpp \
src/CUSBCommunication.h \
src/main.cpp \
src/ExceptionBase.cpp \
src/ExceptionBase.h
# additional files to install
dist_configfiles_DATA = \
config/atmega1280.xml \
config/atmega128.xml \
config/atmega16.xml \
config/atmega2560.xml
udevrulesdir = /lib/udev/rules.d
dist_udevrules_DATA = 60-avrprog.rules
# additional files
dist_noinst_DATA = \
README.md \
doc.txt \
changelog.txt
# build documentation and manpage
doc: $(SOURCES) doc.txt README.md man.txt
doxygen Doxyfile
man/man1/@[email protected]: man.txt
doxygen Doxyfile_man
cppcheck:
cppcheck --enable=all src
distclean-local:
rm -rf doc
rm -rf man
man_MANS = man/man1/@[email protected]