From 442a49ad5a48d417345959b903ae6a6d32d55759 Mon Sep 17 00:00:00 2001 From: Haidong Ji Date: Fri, 15 Apr 2022 15:51:30 -0500 Subject: Great C programming fun Excellent fundamentals and displine training, many tools and techniques exercises: gdb, emacs, valgrind, git --- c2prj1_cards/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 c2prj1_cards/Makefile (limited to 'c2prj1_cards/Makefile') diff --git a/c2prj1_cards/Makefile b/c2prj1_cards/Makefile new file mode 100644 index 0000000..be1c5b4 --- /dev/null +++ b/c2prj1_cards/Makefile @@ -0,0 +1,9 @@ +CFLAGS=-ggdb3 -Wall -Werror -pedantic -std=gnu99 +GIVEN_OBJS=deck.o eval.o future.o input.o main.o eval-c4.o deck-c4.o + +test: cards.o my-test-main.o + gcc -o test -ggdb3 cards.o my-test-main.o +poker: $(GIVEN_OBJS) cards.o + gcc -o poker -ggdb3 cards.o $(GIVEN_OBJS) +clean: + rm test poker cards.o my-test-main.o *~ -- cgit v1.2.3