-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
59 lines (39 loc) · 2 KB
/
makefile
File metadata and controls
59 lines (39 loc) · 2 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
export PATH := ./:$(PATH)
cflags =
all: httpServer.out ftpServer.out
httpServer.out: fileTransfer.o connection.o crypto.o networking.o googleAccessToken.o utils.o httpServer.o realtimePacketParser.o createHTTPHeader.o
gcc -g -O0 realtimePacketParser.o fileTransfer.o crypto.o connection.o googleAccessToken.o httpServer.o createHTTPHeader.o utils.o networking.o -lssl -lcrypto -g -o httpServer.out
networking.o: net/networking.c
gcc -g -O0 -c net/networking.c
connection.o: net/connection.c
gcc -g -O0 -c net/connection.c
httpServer.o: httpServer.c
gcc -g -O0 -c httpServer.c
fileTransfer.o: fileTransfer.c
gcc -g -O0 -c fileTransfer.c
googleAccessToken.o: google/googleAccessToken.c
gcc -g -O0 -c google/googleAccessToken.c
utils.o: utils.c
gcc -g -O0 -c utils.c
realtimePacketParser.o: httpProcessing/realtimePacketParser.c
gcc -g -O0 -c httpProcessing/realtimePacketParser.c
createHTTPHeader.o: httpProcessing/createHTTPHeader.c
gcc -g -O0 -c httpProcessing/createHTTPHeader.c
ftpServer.out: ftpServer.o vfsPathParser.o vfs_private.o createHTTPHeader.o crypto.o fileTransfer.o ftpParser.o googleUpload.o realtimePacketParser.o ftp.o vfs.o networking.o utils.o connection.o googleAccessToken.o
gcc -g -O0 ftpServer.o vfsPathParser.o vfs_private.o googleUpload.o createHTTPHeader.o crypto.o fileTransfer.o realtimePacketParser.o googleAccessToken.o ftp.o ftpParser.o vfs.o utils.o networking.o connection.o -lcrypto -lssl ./virtualFileSystem/hiredis/*.o -o ftpServer.out
ftpServer.o: ftpServer.c
gcc -g -O0 -c ftpServer.c
ftp.o: ftp/ftp.c
gcc -g -O0 -c ftp/ftp.c
ftpParser.o: ./ftp/ftpParser.c
gcc -g -O0 -c ftp/ftpParser.c
vfs.o: virtualFileSystem/vfs.c
gcc -g -O0 -c virtualFileSystem/vfs.c
vfsPathParser.o: virtualFileSystem/vfsPathParser.c
gcc -g -O0 -c virtualFileSystem/vfsPathParser.c
vfs_private.o: virtualFileSystem/vfs_private.c
gcc -g -O0 -c virtualFileSystem/vfs_private.c
googleUpload.o: google/googleUpload.c
gcc -g -O0 -c google/googleUpload.c
crypto.o: crypto.c
gcc -g -O0 -c crypto.c