blob: 6451b49f32c8d6e2b6260e1e12304df769770bf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
D=indi-celestronaux indi-lxd650
default: ${D:%=%/default}
clean: ${D:%=%/clean}
install: ${D:%=%/install}
%/install:%/default
(cd ${@:%/install=%/build} && make install)
%/default:%/build/Makefile
(cd ${@:%/default=%/build} && make)
%/build/Makefile:
mkdir -p ${@:%/Makefile=%}
(cd ${@:%/Makefile=%} && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..)
%/clean:
/bin/rm -rf ${@:%/clean=%/build}
|