* Add new flag '-c' that makes 0xFFFF run as a shell * Split the connect_via_usb() code from main() * Add console handler for shell like usage of the flasher
12 lines
272 B
Makefile
12 lines
272 B
Makefile
VERSION=0.2
|
|
OBJ=main.o fiasco.o hexdump.o dump.o flash.o serial.o
|
|
OBJ+=hash.o fpid.o query.o pieces.o utils.o devices.o console.o
|
|
BIN=0xFFFF
|
|
CFLAGS+=-DVERSION=\"${VERSION}\" -Wall -g -I .
|
|
|
|
all: ${OBJ}
|
|
${CC} ${LDFLAGS} -o ${BIN} ${OBJ} -lusb
|
|
|
|
clean:
|
|
-rm -f ${OBJ} ${BIN}
|