summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-09 20:30:55 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-09 20:30:55 +0200
commit0d7694160012f2cdcec96932a6bdff6e75f25ad4 (patch)
treee1a43aeab4b5f8590378a80336d0a9835a2aa69b /src/Makefile
parent5dc162bc4a71321bd0fcec8db96ec89b88a60ed3 (diff)
download0xFFFF-0d7694160012f2cdcec96932a6bdff6e75f25ad4.tar.bz2
Add new code to Makefile
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f47c5b0..d1421c5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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}