From 0313c595555ae1c391766d1594735042ccd20443 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 11 Mar 2008 21:32:03 +0000 Subject: reduce compare noise. If someone should be crazy enough to try to run OpenOCD under eCos, then they'v got some hooks to point them in the general direction. git-svn-id: svn://svn.berlios.de/openocd/trunk@499 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') 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 \ -- cgit v1.2.3