summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..ec48974
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,11 @@
+VERSION=0.1
+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}