X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=7721f34010ffe200ae382053382b0fac3c50eb80;hb=b154972bdbcbda1ae8e05271c0db556fade8dbef;hp=a223f9512fcef2a694d4c66790bf413bec62c41e;hpb=b1f7b35983eade493bfadd9e5abee4ae3dab630d;p=openocd.git 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