Restructuring: moved user interface code to ui/

This commit is contained in:
Daniel Beer 2011-09-14 16:22:01 +12:00
parent d4fee98904
commit 53e28ea8fb
18 changed files with 10 additions and 11 deletions

View File

@ -51,7 +51,7 @@ else
BINARY = mspdebug BINARY = mspdebug
endif endif
INCLUDES = -I. -Isimio -Iformats -Idrivers -Iutil INCLUDES = -I. -Isimio -Iformats -Idrivers -Iutil -Iui
GCC_CFLAGS = -O1 -Wall -Wno-char-subscripts -ggdb $(INCLUDES) GCC_CFLAGS = -O1 -Wall -Wno-char-subscripts -ggdb $(INCLUDES)
MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS) MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS)
@ -61,7 +61,6 @@ MSPDEBUG_CFLAGS = $(CFLAGS) $(READLINE_CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS)
all: $(BINARY) all: $(BINARY)
clean: clean:
rm -f *.o
rm -f */*.o rm -f */*.o
rm -f $(BINARY) rm -f $(BINARY)
@ -75,14 +74,6 @@ install: $(BINARY) mspdebug.man
.SUFFIXES: .c .o .SUFFIXES: .c .o
OBJ=\ OBJ=\
main.o \
gdb.o \
rtools.o \
sym.o \
devcmd.o \
reader.o \
cmddb.o \
stdcmd.o \
util/btree.o \ util/btree.o \
util/expr.o \ util/expr.o \
util/list.o \ util/list.o \
@ -122,7 +113,15 @@ OBJ=\
simio/simio_wdt.o \ simio/simio_wdt.o \
simio/simio_hwmult.o \ simio/simio_hwmult.o \
simio/simio_gpio.o \ simio/simio_gpio.o \
aliasdb.o \ ui/gdb.o \
ui/rtools.o \
ui/sym.o \
ui/devcmd.o \
ui/reader.o \
ui/cmddb.o \
ui/stdcmd.o \
ui/aliasdb.o \
ui/main.o
$(BINARY): $(OBJ) $(BINARY): $(OBJ)
$(CC) $(MSPDEBUG_LDFLAGS) -o $@ $^ $(MSPDEBUG_LIBS) $(CC) $(MSPDEBUG_LDFLAGS) -o $@ $^ $(MSPDEBUG_LIBS)

View File

View File

View File

View File

View File

View File

View File