]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Makefile: Add shortcut targets
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 6 Mar 2018 07:41:01 +0000 (08:41 +0100)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 6 Mar 2018 07:41:01 +0000 (08:41 +0100)
Now, one can run just 'make cufftw' to compile the particular variant.

Makefile

index 18388de7d3ddcfa32c2f87167e83dc70c644052d..836f867d6db57f07046bc62955532930580e6222 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,5 +19,7 @@ build-%/kcf_vot: $(shell git ls-files)
        cd $(@D) && cmake $(CMAKE_OPTS) $(CMAKE_OTPS_$*) ..
        cmake --build $(@D)
 
+$(BUILDS): %: build-%/kcf_vot
+
 clean:
        rm -rf $(BUILDS:%=build-%)