summaryrefslogtreecommitdiff
path: root/Makefile
blob: b3f69f31d48ca2c3a35c2e9f69e47c0efb4d4ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC = gcc
NAME = free_snake
LIBS = -lncurses -lm

$(NAME): draw.o
	$(CC) -o $(NAME) draw.o $(LIBS)

draw.o: draw.c

.PHONY: clean
clean:
	rem *.o $(NAME)