summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-31 15:34:11 +1000
committerDave Airlie <airlied@redhat.com>2014-10-31 15:34:11 +1000
commitc16a99120fef3684f3dfd29d0c0973dee450f455 (patch)
treed593106808a2b80469301f9d28c2f30978ce8c84 /Makefile
add initial hacks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2e695d0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+CFLAGS := -g3 -Wall -O2 `pkg-config libusb-1.0 --cflags` `pkg-config openssl --cflags`
+LIBS := `pkg-config libusb-1.0 --libs` `pkg-config openssl --libs`
+
+dl3: dl3.c
+ $(CC) $(CFLAGS) -o dl3 dl3.c $(LIBS)
+
+all: dl3