2014-09-12 11:17:04 +00:00
|
|
|
CC ?= gcc
|
|
|
|
CFLAGS += -Wall -Wextra
|
2014-12-10 18:49:42 +00:00
|
|
|
DEFS = -DVT100_COMPATIBLE
|
|
|
|
LIBS =
|
2014-04-17 20:20:40 +00:00
|
|
|
|
2014-09-12 11:17:04 +00:00
|
|
|
all: 2048
|
2014-04-17 20:20:40 +00:00
|
|
|
|
2014-12-10 18:49:42 +00:00
|
|
|
2048: src/2048_engine.c src/2048_rewrite.c
|
|
|
|
$(CC) $(DEFS) src/2048_engine.c src/2048_rewrite.c -o 2048 $(LIBS)
|
|
|
|
|
2014-09-08 20:26:41 +00:00
|
|
|
clean:
|
2014-12-10 18:49:42 +00:00
|
|
|
rm -f 2048
|
|
|
|
|
|
|
|
.PHONY: clean
|