From 61d649e615112c0c70cefce0e4489e041b8e3c75 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Sat, 23 Sep 2023 22:25:42 +0000 Subject: revert makefile --- Makefile | 17 ++++++++++++----- snowcast_control | Bin 34893 -> 22384 bytes snowcast_listener | Bin 34270 -> 19120 bytes snowcast_server | Bin 54188 -> 45184 bytes 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7fe5259..b7fdd09 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,21 @@ + CC = gcc -CFLAGS = -o +# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g +CFLAGS = -g -I. -std=gnu99 -Wall -pthread all: server client server: - $(CC) $(CFLAGS) snowcast_server server.c + $(CC) $(CFLAGS) -o snowcast_server server.c client: - $(CC) $(CFLAGS) snowcast_control client.c - $(CC) $(CFLAGS) snowcast_listener listener.c + $(CC) $(CFLAGS) -o snowcast_control client.c + $(CC) $(CFLAGS) -o snowcast_listener listener.c + +# new: +# $(CC) $(CFLAGS) -o s snowcast_server_concurrent.c +# $(CC) $(CFLAGS) -o l listener.c +# $(CC) $(CFLAGS) -o c client.c clean: - rm -f server client + rm -fv server client diff --git a/snowcast_control b/snowcast_control index e3d29cd..5905ab1 100755 Binary files a/snowcast_control and b/snowcast_control differ diff --git a/snowcast_listener b/snowcast_listener index d15c2ac..3e47e13 100755 Binary files a/snowcast_listener and b/snowcast_listener differ diff --git a/snowcast_server b/snowcast_server index 51f53e7..7897cb3 100755 Binary files a/snowcast_server and b/snowcast_server differ -- cgit v1.2.3-70-g09d2