zy1000: fix trivial syntax error introduced by latest refactorings
[fw/openocd] / src / Makefile.am
index a223f9512fcef2a694d4c66790bf413bec62c41e..77ae5ae2e771e0975950ddae0942bd913e94aeca 100644 (file)
@@ -12,7 +12,13 @@ endif
 openocd_SOURCES = $(MAINFILE)
 openocd_LDADD = libopenocd.la
 
-libopenocd_la_SOURCES = openocd.c
+libopenocd_la_SOURCES = \
+       hello.c \
+       openocd.c
+
+noinst_HEADERS = \
+       openocd.h
+
 
 # set the include path found by configure
 AM_CPPFLAGS = \
@@ -43,7 +49,7 @@ libopenocd_la_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS)
 libopenocd_la_LDFLAGS = $(all_libraries)
 
 if IS_MINGW
-MINGWLDADD = -lwsock32
+MINGWLDADD = -lws2_32
 else
 MINGWLDADD =
 endif