2048-cli/Makefile

15 lines
247 B
Makefile
Raw Normal View History

CC ?= gcc
CFLAGS += -Wall -Wextra
LIBS = -lcurses
2014-04-17 20:20:40 +00:00
all: 2048
2014-04-17 20:20:40 +00:00
2014-12-03 15:14:30 +00:00
2048: src/2048.c
$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) src/2048.c -o 2048
2014-04-17 20:20:40 +00:00
2014-12-03 15:14:30 +00:00
2048nc: src/2048.c
$(CC) -DNO_CURSES=1 $(CFLAGS) $(LDFLAGS) src/2048.c -o 2048nc
2014-09-08 20:26:41 +00:00
clean:
rm -f 2048 2048nc