Upload files to 'du7'

This commit is contained in:
Anzhelika Nikolaieva 2023-04-13 13:55:22 +00:00
parent f983583462
commit e5261ee575

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