-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 843 Bytes
/
Makefile
File metadata and controls
26 lines (18 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#Change this mess to a better place to live
main: mainLib processLib helperLib runtimeParserLib configParserLib
etags -R # If you are not a user of the blessed Emacs, you can delete this line
clang -g -o cpotlight bin/main.o bin/process.o bin/runtimeParser.o bin/helper.o bin/configParser.o -lcurl -lncurses -lpthread
mainLib: main.c bin
clang -g -c main.c -o bin/main.o
processLib: include/process.h lib/process.c bin
clang -g -c lib/process.c -o bin/process.o
runtimeParserLib: include/runtimeParser.h lib/runtimeParser.c bin
clang -g -c lib/runtimeParser.c -o bin/runtimeParser.o
helperLib: include/helper.h lib/helper.c bin
clang -g -c lib/helper.c -o bin/helper.o
configParserLib: include/configParser.h lib/configParser.c bin
clang -g -c lib/configParser.c -o bin/configParser.o
bin:
mkdir bin
clean: ./bin
rm -rf ./bin