File: Makefile

package info (click to toggle)
petris 1.0.1-8
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 124 kB
  • ctags: 87
  • sloc: ansic: 734; makefile: 62; sh: 8
file content (17 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS=-Wall
LIBS=-lncurses

petris : main.o game.o highscore.o
	gcc ${LIBS} -o petris main.o game.o highscore.o

main.o : main.c game.h petris.h
	gcc ${CFLAGS} -c main.c

game.o : game.c game.h petris.h config.h
	gcc ${CFLAGS} -c game.c

highscore.o : highscore.c highscore.h config.h
	gcc ${CFLAGS} -c highscore.c

clean:
	rm -f main.o game.o highscore.o