This commit is contained in:
Andrii Hermaniuk 2022-04-29 11:13:56 +02:00
parent 49209907c9
commit a31f879260

14
du7/Makefile Normal file
View File

@ -0,0 +1,14 @@
CFLAGS=-std=c99 -Wall -g
all: game
%.o: %.c
gcc $(CFLAGS) -c $< -o $@
clean:
rm *.o
rm game
game: main.o world.o snake.o
gcc -rdynamic -g main.o world.o snake.o -lcurses -lm -o game