mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-27 21:44:23 -04:00
26 lines
625 B
Makefile
26 lines
625 B
Makefile
all: setup build
|
|
.PHONY: all
|
|
|
|
.ONESHELL:
|
|
SHELL:=/bin/bash
|
|
|
|
X_SIZES ?=22 24 28 32 40 48 56 64 72 80 88 96
|
|
WIN_CANVAS_SIZE ?= 32
|
|
WIN_SIZE ?= 24
|
|
|
|
clean:
|
|
@python3 -m pip uninstall -y clickgen
|
|
@find -iname "*.pyc" -delete
|
|
@rm -rf applbuild/__pycache__
|
|
|
|
setup: clean
|
|
@python3 -m pip install clickgen==1.1.9 --user
|
|
|
|
build: setup build.py
|
|
@python3 build.py --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|
|
|
|
build_unix: setup build.py
|
|
@python3 build.py unix --xsizes $(X_SIZES)
|
|
|
|
build_windows: setup build.py
|
|
@python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|