File: Makefile

package info (click to toggle)
el-ixir 3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: pascal: 112; makefile: 19
file content (19 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
el-ixir: *.pas
	fpc -XX el-ixir.pas

clean:
	rm -f *.gpi *.o *.ppu el-ixir

install: el-ixir
	mkdir -p "$$DESTDIR/usr/games"
	install -c el-ixir "$$DESTDIR/usr/games/"

dist:
	rm -rf tmp
	mkdir tmp
	VER=`git describe --tags` && \
	mkdir "tmp/el-ixir-$$VER" && \
	cp -p *.pas Makefile "tmp/el-ixir-$$VER/" && \
	cd tmp && \
	tar cfz "../el-ixir-$$VER.tar.gz" *
	rm -rf tmp