diff options
author | scratko <m@scratko.xyz> | 2024-08-10 02:46:56 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-08-10 02:46:56 +0300 |
commit | a2d696dea797faaa3157046c8ae89cd70e965bff (patch) | |
tree | 74051e828ec401f399b2316a535c200f3afa95c5 /client/Makefile | |
parent | 9e9919b897b00ff23aee6581471b4d7b4567bf4a (diff) | |
download | durak-a2d696dea797faaa3157046c8ae89cd70e965bff.tar.gz durak-a2d696dea797faaa3157046c8ae89cd70e965bff.tar.bz2 durak-a2d696dea797faaa3157046c8ae89cd70e965bff.zip |
Prefinal version
Added client.
Moved files to directories.
Diffstat (limited to 'client/Makefile')
-rw-r--r-- | client/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/Makefile b/client/Makefile new file mode 100644 index 0000000..eeae6c6 --- /dev/null +++ b/client/Makefile @@ -0,0 +1,18 @@ +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 $@ + +-include deps.mk + +deps.mk: $(SRCMODULES) + $(CC) -MM $^ > $@ |