aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr/setres/Makefile
blob: 770d45d43350db2b9f2e6b3ae33f687d38ee4447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: setres

setres.zip: __main__.py get.py set.py
	zip $@ $^

setres: setres.zip
	echo '#!/usr/bin/python3' > $@
	cat setres.zip >> $@
	chmod a+x $@

clean:
	-rm -r *.zip *.pyc __pycache__/ *~

reallyclean: clean
	-rm setres

.PHONY: all clean reallyclean