summary refs log tree commit diff homepage
path: root/Makefile
blob: 162783aa0a2803dd719a1790dcfec5a063d6a407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS += -std=c11 -Wall -Wextra
LDLIBS = -lcurses

OBJS += play.o
OBJS += 2048.o

all: tags play

play: $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@

tags: *.c
	ctags -w *.c