From a2d696dea797faaa3157046c8ae89cd70e965bff Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 10 Aug 2024 02:46:56 +0300 Subject: Prefinal version Added client. Moved files to directories. --- server/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 server/Makefile (limited to 'server/Makefile') diff --git a/server/Makefile b/server/Makefile new file mode 100644 index 0000000..6fb2c5c --- /dev/null +++ b/server/Makefile @@ -0,0 +1,17 @@ +SRCMODULES = card_stack.c card_queue.c server_data_processing.c server_game_process.c server.c +OBJMODULES = $(SRCMODULES:.c=.o) +CC = gcc +CFLAGS = -Wall -g -c + +all: server + +%.o: %.с %.h + $(CC) $(CFLAGS) $< -o $@ + +server: $(OBJMODULES) + $(CC) $(LIBS) $^ -o $@ + +-include deps.mk + +deps.mk: $(SRCMODULES) + $(CC) -MM $^ > $@ -- cgit v1.2.3