X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2FMakefile.am;h=aa7b19f24791d85465ca72aa0dd0342a72a69147;hb=afe5371bc8bde3fc1a833c3d7e459920711a9584;hp=aa3155062173c0106897d21b0d3bd0c9c77eaec9;hpb=78d58dd16a276d5a3547d2f681f5062415736c85;p=openocd diff --git a/src/Makefile.am b/src/Makefile.am index aa315506..aa7b19f2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 \