commit
1bf0c51864
11
Makefile
11
Makefile
|
@ -1,10 +1,13 @@
|
|||
CC=gcc
|
||||
CCARGS=
|
||||
CC?=gcc
|
||||
CFLAGS+=
|
||||
|
||||
all: 2048 2048_no_curses
|
||||
|
||||
2048: 2048_curses.c
|
||||
$(CC) $(CCARGS) 2048_curses.c -lcurses -o 2048
|
||||
$(CC) $(CFLAGS) 2048_curses.c -lcurses -o 2048
|
||||
|
||||
2048_no_curses: 2048_no_curses.c
|
||||
gcc 2048_no_curses.c -o 2048_no_curses
|
||||
$(CC) $(CFLAGS) 2048_no_curses.c -o 2048_no_curses
|
||||
|
||||
clean:
|
||||
rm -f 2048 2048_no_curses
|
||||
|
|
Loading…
Reference in New Issue
Block a user