adds support for setting and clearing the rd flags (no-retu-watchdog, serial-console and the like). The interface to it is a bit cryptic (construct your own hex number) but it works like like 'chmod'.
12 lines
239 B
Makefile
12 lines
239 B
Makefile
VERSION=0.2
|
|
OBJ=main.o fiasco.o hexdump.o dump.o flash.o
|
|
OBJ+=hash.o fpid.o query.o pieces.o utils.o
|
|
BIN=0xFFFF
|
|
CFLAGS+=-DVERSION=\"${VERSION}\" -Wall -g
|
|
|
|
main: ${OBJ}
|
|
${CC} ${LDFLAGS} -o ${BIN} ${OBJ} -lusb
|
|
|
|
clean:
|
|
-rm -f ${OBJ} ${BIN}
|