diff options
-rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,9 +1,16 @@ D=indi-celestronaux -default: ${D}/Makefile - (cd ${D} && make) - (cd ${D} && make install) +default: indi-celestronaux/make indi-lxd650/make -indi_celestron_aux/Makefile: - (cd ${D} && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr) +install: indi-celestronaux/install indi-lxd650/install + +%/install:%/make + (cd ${@:%/install=%} && install) + +%/make:%/Makefile + (cd ${@:%/make=%} && make) + + +%/Makefile: + (cd ${@:%/Makefile=%} && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr) |