blob: d297bdb9d4b307af2b0f65556236cf3b1df56235 (
plain)
1
2
3
4
5
6
7
8
9
10
|
CFLAGS=-ggdb3 -Wall -Werror -pedantic -std=gnu99
GIVEN_OBJS=deck-c4.o eval-c4.o future.o input.o main.o
MY_OBJS=cards.o deck.o eval.o
test-eval: deck.o eval.o eval-c4.o test-eval.o deck-c4.o cards.o input.o future.o
gcc -o test-eval -ggdb3 deck.o deck-c4.o eval-c4.o eval.o test-eval.o cards.o input.o future.o
poker: $(GIVEN_OBJS) $(MY_OBJS)
gcc -o poker -ggdb3 $(MY_OBJS) $(GIVEN_OBJS)
clean:
rm -f test poker cards.o my-test-main.o *~
|