X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=2ddbf475dc89ea77bab6147ee6577fb037a7165b;hb=fcdee3bc6dcc31a514ea60f256b92f99d35e225a;hp=ab3201f0310a27cb1ff970a8bb6bda162984795a;hpb=e19054a4b36068329211cf5069ed92b06be66d8c;p=fw%2Fstlink diff --git a/Makefile.am b/Makefile.am index ab3201f..2ddbf47 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,11 @@ SUBDIRS = . $(MAYBE_GUI) AUTOMAKE_OPTIONS = subdir-objects +if MINGW +bin_PROGRAMS = st-flash st-util st-info +else bin_PROGRAMS = st-flash st-util st-term st-info +endif noinst_LIBRARIES = libstlink.a @@ -18,9 +22,12 @@ CFILES = \ src/stlink-usb.c \ src/stlink-sg.c \ src/uglylogging.c \ - src/st-term.c \ src/st-info.c +if !MINGW +CFILES += src/st-term.c +endif + HFILES = \ src/stlink-common.h \ src/stlink-usb.h \