summarylogtreecommitdiffstats
path: root/makefile
blob: 0583087c732fb65f007674580ca0749eb731564a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.ONESHELL:

DIR=cicada-master
PKG=cicada

all:
	@
	make build &&\
	make ball
build:
	@
	makepkg -sf

ball:
	@
	mkaurball -f

install:
	@
	pacman -U $(PKG)-*.pkg.tar.xz

clean*~:
	@
	rm -f *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~  */*/*/*/*/*~

clean*.bin:
	@
	rm -f *.bin */*.bin */*/*.bin */*/*/*.bin */*/*/*/*.bin	 */*/*/*/*/*.bin

clean:
	@
	make clean*~
	make clean*.bin
	rm $(PKG)-*.pkg.tar.xz
	rm $(PKG)-*.src.tar.gz
	rm -rf *.zip
	rm -rf src
	rm -rf pkg
	rm -rf $(DIR)
	echo -e "\e[33;1m [ok] clean directory \e[0m"