2048-cli/Makefile
2014-09-09 00:26:41 +04:00

14 lines
233 B
Makefile

CC?=gcc
CFLAGS+=
all: 2048 2048_no_curses
2048: 2048_curses.c
$(CC) $(CFLAGS) 2048_curses.c -lcurses -o 2048
2048_no_curses: 2048_no_curses.c
$(CC) $(CFLAGS) 2048_no_curses.c -o 2048_no_curses
clean:
rm -f 2048 2048_no_curses