Fix missing CFLAGS for readline support.

This commit is contained in:
Daniel Beer 2011-07-27 23:13:37 +12:00
parent 04335f4f1c
commit 5084d0d925
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ GCC_CFLAGS = -O1 -Wall -Wno-char-subscripts -ggdb
MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS)
MSPDEBUG_LIBS = -lusb $(READLINE_LIBS) $(WIN32_LIBS)
MSPDEBUG_CFLAGS = $(CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS)
MSPDEBUG_CFLAGS = $(CFLAGS) $(READLINE_CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS)
all: $(BINARY)

View File

@ -49,7 +49,7 @@
#define OUTMOD0 0x0020 /* Output mode 0 */
#define CCIE 0x0010 /* Capture/compare interrupt enable */
#define CCI 0x0008 /* Capture input signal (read) */
#define OUT 0x0004 /* PWM Output signal if output mode 0 */
/* #define OUT 0x0004 PWM Output signal if output mode 0 */
#define COV 0x0002 /* Capture/compare overflow flag */
#define CCIFG 0x0001 /* Capture/compare interrupt flag */

View File

@ -103,7 +103,7 @@ int cmd_help(char **arg)
vector_destroy(&v);
printc("Type \"help <topic>\" for more information.\n");
#ifdef WIN32
#if defined(WIN32) && !defined(USE_READLINE)
printc("Press Ctrl+Z, Enter to quit.\n");
#else
printc("Press Ctrl+D to quit.\n");