blob: 5f66a11c870604a6e671941dc3c848234dd76478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CC = gcc
NAME = free_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:
rem *.o $(NAME)
|