-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
31 lines (21 loc) · 698 Bytes
/
makefile
File metadata and controls
31 lines (21 loc) · 698 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
27
28
29
30
31
default: util client server
util: include/dropboxUtil.h src/dropboxUtil.c
gcc -c src/dropboxUtil.c
mv dropboxUtil.o bin
client: include/dropboxClient.h include/dropboxClient.h src/dropboxClient.c
gcc -o bin/dropboxClient src/dropboxClient.c bin/dropboxUtil.o -lpthread
server: include/dropboxClient.h include/dropboxServer.h src/dropboxServer.c
gcc -o bin/dropboxServer src/dropboxServer.c -lpthread
debug:
gcc -DDEBUG -o bin/dropboxClient src/dropboxClient.c
clean:
rm bin/*
clean_reset: clean_database clean_sync_folder clean_client_list clean_binarios
clean_binarios:
rm bin/*
clean_database:
rm -rf database
clean_sync_folder:
rm -rf sync*
clean_client_list:
rm clients.dat