From 6545b996f275185e16c0be4f13b822fb9fc8d73c Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Tue, 20 Apr 2010 14:30:24 -0300 Subject: [PATCH] Updating the debug branch's Makefile. --- Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 0dd1afb..603ec19 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,19 @@ SRC = ${SRC_DIR}/tty-solitaire.c CFLAGS = -W -Wall -pedantic -ansi -std=c99 OUTPUT = bin/tty-solitaire LIB_DIR = lib -OBJECTS = ${LIB_DIR}/frame.o \ - ${LIB_DIR}/card.o \ - ${LIB_DIR}/stack.o \ - ${LIB_DIR}/deck.o \ - ${LIB_DIR}/util.o \ - ${LIB_DIR}/cursor.o \ - ${LIB_DIR}/keyboard.o \ - ${LIB_DIR}/display.o \ - ${LIB_DIR}/game.o +DEBUG_DIR = debug +OBJECTS = ${LIB_DIR}/frame.o \ + ${LIB_DIR}/card.o \ + ${LIB_DIR}/stack.o \ + ${LIB_DIR}/deck.o \ + ${LIB_DIR}/util.o \ + ${LIB_DIR}/cursor.o \ + ${LIB_DIR}/keyboard.o \ + ${LIB_DIR}/display.o \ + ${LIB_DIR}/game.o \ + ${DEBUG_DIR}/card_debug.o \ + ${DEBUG_DIR}/stack_debug.o \ + ${DEBUG_DIR}/deck_debug.o LDFLAGS = -lncursesw tty-solitaire: ${OBJECTS}