From 831f9f01fbe4088eb6bd378c0e417d9996b676fd Mon Sep 17 00:00:00 2001 From: scratko Date: Fri, 30 Aug 2024 12:46:56 +0300 Subject: Final version v2.0 Added windows client. SIGPIPE signal was being sent to the server when the client was disconnected. Now there is handling of this signal. Added a delay when displaying some informational messages. --- linux_client/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linux_client/Makefile (limited to 'linux_client/Makefile') diff --git a/linux_client/Makefile b/linux_client/Makefile new file mode 100644 index 0000000..2e2ce88 --- /dev/null +++ b/linux_client/Makefile @@ -0,0 +1,23 @@ +SRCMODULES = card_handling.c card_stack.c data_decryption.c\ + printing_game_frames.c verification_client_input.c client.c +OBJMODULES = $(SRCMODULES:.c=.o) +CC = gcc +CFLAGS = -Wall -g -c + +all: client + +%.o: %.с %.h + $(CC) $(CFLAGS) $< -o $@ + +client: $(OBJMODULES) + $(CC) $(LIBS) $^ -o $@ + +ifneq (clean, $(MAKECMDGOALS)) +-include deps.mk +endif + +deps.mk: $(SRCMODULES) + $(CC) -MM $^ > $@ + +clean: + rm -f *.o client -- cgit v1.2.3