summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9e5dbf53b70f497c655b39e0144eaa9f22be22de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# queryt - youtube query tool
# See LICENSE file for copyright and license details.

# Source Code
SRC = queryt.c src/utils.c src/video.c libs/curl.c libs/string.c libs/json.c

# Libraries
LIBS = -lcurl -ljson-c

# Compiled Code
CLEAN = queryt

# MakeOPTS
build: clean
	cc -o queryt ${SRC} ${LIBS}

debug: clean
	cc -g -o queryt ${SRC} ${LIBS}

clean:
	rm -rf ${CLEAN}