add
This commit is contained in:
parent
92f56b6a5a
commit
45fe03721b
14
du7/snake/Makefile
Normal file
14
du7/snake/Makefile
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user