2014-09-08 20:26:31 +00:00
|
|
|
CC?=gcc
|
|
|
|
CFLAGS+=
|
2014-04-17 20:20:40 +00:00
|
|
|
|
|
|
|
all: 2048 2048_no_curses
|
|
|
|
|
|
|
|
2048: 2048_curses.c
|
2014-09-08 20:26:31 +00:00
|
|
|
$(CC) $(CFLAGS) 2048_curses.c -lcurses -o 2048
|
2014-04-17 20:20:40 +00:00
|
|
|
|
|
|
|
2048_no_curses: 2048_no_curses.c
|
2014-09-08 20:26:31 +00:00
|
|
|
$(CC) $(CFLAGS) 2048_no_curses.c -o 2048_no_curses
|
2014-09-08 20:26:41 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f 2048 2048_no_curses
|