FlappyBird/Makefile

10 lines
285 B
Makefile
Raw Permalink Normal View History

2022-12-21 07:55:05 +00:00
flappy: main.o game.o bird.o pipe.o
gcc -o flappy main.o game.o bird.o pipe.o -lcurses
main.o: main.c game.h config.h
gcc -c main.c
game.o: game.c game.h bird.h pipe.h config.h
gcc -c game.c
bird.o: bird.c bird.h config.h
gcc -c bird.c
pipe.o: pipe.c pipe.h config.h
gcc -c pipe.c