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

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

draw.o: draw.c include/body.h
body.o: body.c include/body.h

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