summaryrefslogtreecommitdiff
path: root/c2prj1_cards/Makefile
diff options
context:
space:
mode:
authorHaidong Ji2022-04-15 15:51:30 -0500
committerHaidong Ji2022-04-15 15:51:30 -0500
commit442a49ad5a48d417345959b903ae6a6d32d55759 (patch)
treec7127bb497e5e439018b1915e0136eec2c9cb124 /c2prj1_cards/Makefile
Great C programming funHEADmaster
Excellent fundamentals and displine training, many tools and techniques exercises: gdb, emacs, valgrind, git
Diffstat (limited to 'c2prj1_cards/Makefile')
-rw-r--r--c2prj1_cards/Makefile9
1 files changed, 9 insertions, 0 deletions
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 *~