2012-04-28 01:13:58 +00:00
|
|
|
# Makefile.am -- Process this file with automake to produce Makefile.in
|
2012-04-28 21:55:23 +00:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
2012-04-28 01:13:58 +00:00
|
|
|
bin_PROGRAMS = st-flash st-util
|
|
|
|
|
2012-04-28 21:55:23 +00:00
|
|
|
noinst_LIBRARIES = libstlink.a
|
2012-04-28 01:13:58 +00:00
|
|
|
|
|
|
|
st_flash_SOURCES = flash/main.c
|
|
|
|
st_util_SOURCES = gdbserver/gdb-remote.c gdbserver/gdb-remote.h gdbserver/gdb-server.c
|
|
|
|
|
2012-04-28 21:55:23 +00:00
|
|
|
CFILES = \
|
|
|
|
src/stlink-common.c \
|
|
|
|
src/stlink-usb.c \
|
|
|
|
src/stlink-sg.c \
|
|
|
|
src/uglylogging.c
|
|
|
|
|
|
|
|
HFILES = \
|
|
|
|
src/stlink-common.h \
|
|
|
|
src/stlink-usb.h \
|
|
|
|
src/stlink-sg.h \
|
|
|
|
src/uglylogging.h \
|
|
|
|
src/mmap.h
|
2012-04-28 01:13:58 +00:00
|
|
|
|
2012-04-28 21:55:23 +00:00
|
|
|
libstlink_a_SOURCES = $(CFILES) $(HFILES)
|
2012-04-28 01:13:58 +00:00
|
|
|
|
2012-04-28 21:55:23 +00:00
|
|
|
libstlink_a_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2
|
|
|
|
libstlink_a_LIBADD = $(LIBOBJS)
|
|
|
|
|
|
|
|
st_flash_LDADD = libstlink.a
|
2012-04-28 01:13:58 +00:00
|
|
|
st_flash_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src
|
|
|
|
|
2012-04-28 21:55:23 +00:00
|
|
|
st_util_LDADD = libstlink.a
|
2012-04-28 01:13:58 +00:00
|
|
|
st_util_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src
|
|
|
|
|
|
|
|
EXTRA_DIST = autogen.sh
|
2012-04-28 21:55:23 +00:00
|
|
|
|