summaryrefslogtreecommitdiff
path: root/c2prj1_cards/Makefile
diff options
context:
space:
mode:
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 *~