summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0d54b70
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+# queryt - youtube query tool
+# See LICENSE file for copyright and license details.
+
+# Source Code
+SRC = queryt.c utils.c libs/curl.c libs/string.c video.c
+
+# Compiled Code
+CLEAN = queryt
+
+# MakeOPTS
+build: clean
+ cc -o queryt ${SRC} -lcurl
+
+debug: clean
+ cc -g -o queryt ${SRC} -lcurl
+
+clean:
+ rm -rf ${CLEAN}