-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
63 lines (49 loc) · 2.08 KB
/
Makefile
File metadata and controls
63 lines (49 loc) · 2.08 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
###########################################################################
# #
# Makefile.pyscan #
# #
# Raptor OpenGL & Vulkan realtime 3D Engine SDK. #
# #
# Copyright 1998-2019 by #
# Fabrice FERRAND. #
# #
# This file is part of the Raptor project, and may only be used, #
# modified, and distributed under the terms of the Raptor project #
# license, LICENSE. By continuing to use, modify, or distribute #
# this file you indicate that you have read the license and #
# understand and accept it fully. #
# #
###########################################################################
export
OUTPUT = QCM/venv/libs64
all: qcm
qcm: pyscan
(cd QCM; python3 setup.py build)
(cd QCM; sudo python3 setup.py install)
pyscan: qrgen quirc scan
(cd QCM/pyscan ; python3 setup.py build)
(cd QCM/pyscan ; sudo python3 setup.py install)
clean:
rm -f $(OUTPUT)/*
make -C qrgen clean
make -C QUIRC/quirc clean
make -C QUIRC clean
make -C scan clean
rm -rf QCM/pyscan/build
qrgen: $(OUTPUT)/libqrgen.so
quirc: $(OUTPUT)/libquirc.so
scan: $(OUTPUT)/libscan.so
$(OUTPUT)/libqrgen.so:
make -C qrgen
cp qrgen/libqrgen.* $(OUTPUT)
ln -s $(OUTPUT)/libqrgen.so.1 $(OUTPUT)/libqrgen.so
$(OUTPUT)/libquirc.so:
make -C QUIRC/quirc libquirc.a
make -C QUIRC/quirc libquirc.so
make -C QUIRC
cp QUIRC/libquirc.* $(OUTPUT)
ln -s $(OUTPUT)/libquirc.so.1 $(OUTPUT)/libquirc.so
$(OUTPUT)/libscan.so:
make -C scan
cp scan/libscan.* $(OUTPUT)
ln -s $(OUTPUT)/libscan.so.1 $(OUTPUT)/libscan.so