Add new code to Makefile
This commit is contained in:
1 parent
5dc162bc4a
commit
0d76941600
4 files changed
+12
No files matched your search
@@ -2,6 +2,7 @@ include ../config.mk
|
||||
OBJ=main.o hexdump.o dump.o flash.o serial.o qmode.o
|
||||
OBJ+=fpid.o query.o pieces.o utils.o console.o
|
||||
OBJ+=squeue/squeue.o
|
||||
OBJ+=image.o fiasco.o device.o usb-device.o cold-flash.o
|
||||
BIN=0xFFFF
|
||||
#LIBS=`${HAVE_USB} && echo -- '-lusb'`
|
||||
LIBS=`if [ "${HAVE_USB}" = 1 ]; then echo '-lusb'; fi`
|
||||
@@ -13,6 +14,8 @@ USBOBJ+=../libusb/linux.o ## XXX not portable
|
||||
CFLAGS+=-I../libusb
|
||||
LDFLAGS+=-L../libusb
|
||||
|
||||
CFLAGS+=-D_GNU_SOURCE
|
||||
|
||||
all: ${BIN}
|
||||
|
||||
${BIN}: ${OBJ}
|
||||
|
||||
Reference in new issue
Block a user