diff options
| author | Your Name <admin@zero.net> | 2025-04-30 12:29:03 +0200 |
|---|---|---|
| committer | Your Name <admin@zero.net> | 2025-04-30 12:29:03 +0200 |
| commit | e7ef9b6eca7b7aca393e233655a246c0e686a649 (patch) | |
| tree | b35ae554b85fc3984fe63f590a372f2b75272e6b | |
| parent | c49a4ff3aa0ef730415c042d8b0e5a2109f52b76 (diff) | |
makefile
| -rwxr-xr-x | chatclient | bin | 0 -> 17856 bytes | |||
| -rwxr-xr-x | chatserver | bin | 0 -> 22512 bytes | |||
| -rw-r--r-- | makefile | 13 |
3 files changed, 11 insertions, 2 deletions
diff --git a/chatclient b/chatclient Binary files differnew file mode 100755 index 0000000..aa0406f --- /dev/null +++ b/chatclient diff --git a/chatserver b/chatserver Binary files differnew file mode 100755 index 0000000..7cf671b --- /dev/null +++ b/chatserver @@ -1,4 +1,13 @@ -all: chatserver +CC = gcc +CFLAGS = -pthread + +all: chatserver chatclient chatserver: main.c client.c chatroom.c - $(CC) -pthread -o chatserver main.c client.c chatroom.c + $(CC) $(CFLAGS) -o chatserver main.c client.c chatroom.c + +chatclient: clientbin.c + $(CC) $(CFLAGS) -o chatclient clientbin.c + +clean: + rm -f chatserver chatclient |
