diff options
author | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2023-01-25 10:59:38 +0000 |
---|---|---|
committer | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2023-01-25 10:59:38 +0000 |
commit | 73cc1cedfcc30f61a2c52e92d0033e94591a8227 (patch) | |
tree | 8345416ad79cf490993d77d6b3ae9ff06e3625ac | |
parent | 9e80705afa9cbfb931b5e1b18c48cd302db1decc (diff) | |
download | indi_mount_driver-73cc1cedfcc30f61a2c52e92d0033e94591a8227.tar.gz indi_mount_driver-73cc1cedfcc30f61a2c52e92d0033e94591a8227.tar.bz2 indi_mount_driver-73cc1cedfcc30f61a2c52e92d0033e94591a8227.zip |
itidy up makefiles
-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) |