summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 468cd4c..6a63de7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
# Makefile
PROG = poker
-OBJS = main.o cardpile.o card.o game.o user.o opponent.o
+OBJS = main.o cardpile.o card.o game.o user.o opponent.o sorthand.o
CC = g++
DBGFLAGS = -g -O0
ifdef DEBUG
@@ -38,6 +38,9 @@ user.o: %.o: %.cpp %.h
opponent.o: %.o: %.cpp %.h
$(CC) -c $(CFLAGS) $<
+sorthand.o: %.o: %.cpp %.h
+ $(CC) -c $(CFLAGS) $<
+
.PHONY: clean
clean: