1 # Makefile.am -- Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = subdir-objects
5 bin_PROGRAMS = st-flash st-util
7 noinst_LIBRARIES = libstlink.a
9 st_flash_SOURCES = flash/main.c
10 st_util_SOURCES = gdbserver/gdb-remote.c gdbserver/gdb-remote.h gdbserver/gdb-server.c mingw/mingw.c mingw/mingw.h
25 libstlink_a_SOURCES = $(CFILES) $(HFILES)
27 libstlink_a_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2
28 libstlink_a_LIBADD = $(LIBOBJS)
30 st_flash_LDADD = libstlink.a
31 st_flash_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src -I$(top_srcdir)/mingw
33 st_util_LDADD = libstlink.a
34 st_util_CPPFLAGS = -std=gnu99 -Wall -Wextra -O2 -I$(top_srcdir)/src -I$(top_srcdir)/mingw
36 EXTRA_DIST = autogen.sh