More robust handling of unknown target state for step/continue packet.
[fw/openocd] / src / Makefile.am
index aa3155062173c0106897d21b0d3bd0c9c77eaec9..aa7b19f24791d85465ca72aa0dd0342a72a69147 100644 (file)
@@ -1,5 +1,13 @@
 bin_PROGRAMS = openocd
-openocd_SOURCES = openocd.c
+
+if ECOSBOARD
+MAINFILE = ecosboard.c
+else
+MAINFILE = openocd.c
+endif
+
+
+openocd_SOURCES = $(MAINFILE)
 
 # set the include path found by configure
 INCLUDES = -I$(top_srcdir)/src/helper \