.build/client
.build/client
This is a binary file and will not be displayed.
.build/main
.build/main
This is a binary file and will not be displayed.
.build/server
.build/server
This is a binary file and will not be displayed.
+1
.gitignore
+1
.gitignore
···
1
+
.build/
+5
-2
Makefile
+5
-2
Makefile
···
1
1
LIB=src/lib/log.c src/lib/enchufe.c
2
2
CFLAGS=-g -lpthread
3
3
4
-
.build/server:
4
+
.build:
5
+
mkdir .build
6
+
7
+
.build/server: .build
5
8
gcc $(CFLAGS) -o .build/server src/server.c $(LIB)
6
9
7
10
run-server: .build/server
8
11
./.build/server
9
12
10
-
.build/client:
13
+
.build/client: .build
11
14
gcc $(CFLAGS) -o .build/client src/client.c $(LIB)
12
15
13
16
run-client: .build/client