tty-solitaire/makefile

15 lines
334 B
Makefile
Raw Normal View History

CC = gcc
SRC_DIR = src
SRC = ${SRC_DIR}/tty-solitaire.c
CFLAGS = -W -Wall -pedantic -ansi -std=c99
OUTPUT = bin/tty-solitaire
2010-04-01 05:28:00 +00:00
LIB_DIR = lib
OBJECTS = ${LIB_DIR}/card.o ${LIB_DIR}/frame.o
LDFLAGS = -lncurses
2010-04-01 05:28:00 +00:00
tty-solitaire: ${OBJECTS}
${CC} ${CFLAGS} ${LDFLAGS} ${SRC} -o ${OUTPUT} ${OBJECTS}
clean:
2010-04-01 05:28:00 +00:00
rm -rf ${LIB_DIR}/*.o ${OUTPUT}