-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
59 lines (44 loc) · 912 Bytes
/
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
SUBDIRS = parsers
bin_PROGRAMS = stm32flash
AUTOMAKE_OPTIONS = subdir-objects
stm32flash_SOURCES = \
compiler.h \
dev_table.c \
i2c.c \
init.h \
init.c \
main.c \
port.h \
port.c \
serial.h \
serial_common.c \
serial_platform.c\
stm32.h \
stm32.c \
utils.h \
utils.c
EXTRA_stm32flash_SOURCES = \
serial_posix.c \
serial_w32.c
EXTRA_DIST = Android.mk parsers/Android.mk \
stm32flash.1 gpl-2.0.txt \
protocol.txt HOWTO I2C.txt
# If we want to ship these handmade ones, they must have
# been copied before running configure and make dist
dist-hook:
-cp Makefile.handmade $(distdir)/Makefile
-cp parsers/Makefile.handmade $(distdir)/parsers/Makefile
stm32flash_LDADD = ${top_builddir}/parsers/parsers.la
stm32flash_CFLAGS = \
-g3 \
-Os \
-Wall \
-Wextra \
-I$(srcdir)/parsers
stm32flash_LDFLAGS = \
-Wall \
-g3 \
-Wextra
all:
.PHONY: all
.SILENT: all