aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr/setres/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-xrandr/setres/Makefile')
-rw-r--r--xorg-xrandr/setres/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/xorg-xrandr/setres/Makefile b/xorg-xrandr/setres/Makefile
new file mode 100644
index 0000000..770d45d
--- /dev/null
+++ b/xorg-xrandr/setres/Makefile
@@ -0,0 +1,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