File: Makefile

package info (click to toggle)
2048 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 499; makefile: 35
file content (18 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS += -std=c99
PREFIX ?= /usr

.PHONY: all clean test

all: 2048

test: 2048
	./2048 test

install:
	mkdir -p $(DESTDIR)$(PREFIX)/games
	cp -p 2048 $(DESTDIR)$(PREFIX)/games/2048
	mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps
	cp -p debian_2048.png $(DESTDIR)$(PREFIX)/share/pixmaps/2048.png

clean:
	rm -f 2048