1 # Makefile.am -- Process this file with automake to produce Makefile.in
2 bin_PROGRAMS = st-flash st-util
4 noinst_LTLIBRARIES = libstlink.la
6 st_flash_SOURCES = flash/main.c
7 st_util_SOURCES = gdbserver/gdb-remote.c gdbserver/gdb-remote.h gdbserver/gdb-server.c
9 libstlink_la_SOURCES = src/stlink-common.c src/stlink-usb.c src/stlink-sg.c src/uglylogging.c \
10 src/stlink-common.h src/stlink-usb.h src/stlink-sg.h src/uglylogging.h
12 libstlink_la_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2
14 st_flash_LDADD = libstlink.la
15 st_flash_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src
17 st_util_LDADD = libstlink.la
18 st_util_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src
20 EXTRA_DIST = autogen.sh