Restructuring: moved low-level utility code to util/

This commit is contained in:
Daniel Beer 2011-09-14 16:19:30 +12:00
parent 6ac5c5a618
commit d4fee98904
31 changed files with 16 additions and 16 deletions

View File

@ -51,7 +51,7 @@ else
BINARY = mspdebug BINARY = mspdebug
endif endif
INCLUDES = -I. -Isimio -Iformats -Idrivers INCLUDES = -I. -Isimio -Iformats -Idrivers -Iutil
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)
@ -76,25 +76,28 @@ install: $(BINARY) mspdebug.man
OBJ=\ OBJ=\
main.o \ main.o \
dis.o \
stab.o \
util.o \
gdb.o \ gdb.o \
btree.o \
rtools.o \ rtools.o \
sym.o \ sym.o \
devcmd.o \ devcmd.o \
reader.o \ reader.o \
vector.o \
output_util.o \
expr.o \
usbutil.o \
opdb.o \
output.o \
cmddb.o \ cmddb.o \
stdcmd.o \ stdcmd.o \
prog.o \ util/btree.o \
list.o \ util/expr.o \
util/list.o \
util/sockets.o \
util/sport.o \
util/usbutil.o \
util/util.o \
util/vector.o \
util/output.o \
util/output_util.o \
util/opdb.o \
util/prog.o \
util/stab.o \
util/dis.o \
util/gdb_proto.o \
drivers/device.o \ drivers/device.o \
drivers/bsl.o \ drivers/bsl.o \
drivers/fet.o \ drivers/fet.o \
@ -120,9 +123,6 @@ OBJ=\
simio/simio_hwmult.o \ simio/simio_hwmult.o \
simio/simio_gpio.o \ simio/simio_gpio.o \
aliasdb.o \ aliasdb.o \
gdb_proto.o \
sport.o \
sockets.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

View File

View File

View File

View File

View File

View File

View File