tty-solitaire/makefile
2010-03-28 21:11:29 -03:00

13 lines
258 B
Makefile

CC = gcc
SRC_DIR = src
SRC = ${SRC_DIR}/tty-solitaire.c
CFLAGS = -W -Wall -pedantic -ansi -std=c99
OUTPUT = bin/tty-solitaire
LDFLAGS = -lncurses
tty-solitaire: ${SRC}
${CC} ${CFLAGS} ${LDFLAGS} ${SRC} -o ${OUTPUT}
clean:
rm -rf ${SRC_DIR}/*.o ${OUTPUT}