-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
36 lines (27 loc) · 1.02 KB
/
Makefile
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
SHELL = /bin/bash
ENV = export PCDS_CONDA_VER=5.1.1; source /cds/group/pcds/pyps/conda/pcds_conda;
ALL = pycaqtimage/pycaqtimage.so camviewer_ui.py advanced_ui.py markers_ui.py \
specific_ui.py timeout_ui.py icon_rc.py
all: $(ALL)
pycaqtimage/pycaqtimage.so: pycaqtimage/configure.py pycaqtimage/pycaqtimage.sip
$(ENV) python pycaqtimage/configure.py pycaqtimage
$(ENV) make -C pycaqtimage
camviewer_ui.py: camviewer.ui
$(ENV) pyuic5 -o camviewer_ui.py camviewer.ui
advanced_ui.py: advanced.ui
$(ENV) pyuic5 -o advanced_ui.py advanced.ui
markers_ui.py: markers.ui
$(ENV) pyuic5 -o markers_ui.py markers.ui
specific_ui.py: specific.ui
$(ENV) pyuic5 -o specific_ui.py specific.ui
timeout_ui.py: timeout.ui
$(ENV) pyuic5 -o timeout_ui.py timeout.ui
icon_rc.py: icon.qrc
$(ENV) pyrcc5 -o icon_rc.py icon.qrc
clean:
-rm camviewer_ui.py advanced_ui.py markers_ui.py specific_ui.py droplet_ui.py xtcrdr_ui.py timeout_ui.py
-rm icon_rc.py
-rm *.pyc *~
-rm pycaqtimage/sip*
-rm pycaqtimage/*.{exp,sbf,so}
-rm -rf __pycache__