X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2FMakefile.am;h=7721f34010ffe200ae382053382b0fac3c50eb80;hp=a223f9512fcef2a694d4c66790bf413bec62c41e;hb=afe0298399bd06700926822e6d49c5bc44151956;hpb=55f4e430e8c1c7382d27695c56e8ca95ba7b7dec diff --git a/src/Makefile.am b/src/Makefile.am index a223f9512f..7721f34010 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,7 +12,9 @@ endif openocd_SOURCES = $(MAINFILE) openocd_LDADD = libopenocd.la -libopenocd_la_SOURCES = openocd.c +libopenocd_la_SOURCES = \ + hello.c \ + openocd.c # set the include path found by configure AM_CPPFLAGS = \ @@ -43,7 +45,7 @@ libopenocd_la_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS) libopenocd_la_LDFLAGS = $(all_libraries) if IS_MINGW -MINGWLDADD = -lwsock32 +MINGWLDADD = -lws2_32 else MINGWLDADD = endif