hf mf fchk - output style
[RRG-proxmark3.git] / tools / hitag2crack / Makefile
blob26f5381108aecb7288e553e8097f0e2a8021750d
1 include ../../Makefile.defs
3 all clean install uninstall check: %: crack2/% crack3/% crack4/% crack5/%
4 ifneq ($(SKIPGPU),1)
5 all clean install uninstall check: %: crack5gpu/% crack5opencl/%
6 endif
8 crack2/%: FORCE
9 $(info [*] MAKE $@)
10 $(Q)$(MAKE) --no-print-directory -C crack2 $(patsubst crack2/%,%,$@) DESTDIR=$(MYDESTDIR)
12 crack3/%: FORCE
13 $(info [*] MAKE $@)
14 $(Q)$(MAKE) --no-print-directory -C crack3 $(patsubst crack3/%,%,$@) DESTDIR=$(MYDESTDIR)
16 crack4/%: FORCE
17 $(info [*] MAKE $@)
18 $(Q)$(MAKE) --no-print-directory -C crack4 $(patsubst crack4/%,%,$@) DESTDIR=$(MYDESTDIR)
20 crack5/%: FORCE
21 $(info [*] MAKE $@)
22 $(Q)$(MAKE) --no-print-directory -C crack5 $(patsubst crack5/%,%,$@) DESTDIR=$(MYDESTDIR)
24 crack5gpu/%: FORCE
25 $(info [*] MAKE $@)
26 $(Q)$(MAKE) --no-print-directory -C crack5gpu $(patsubst crack5gpu/%,%,$@) DESTDIR=$(MYDESTDIR)
28 crack5opencl/%: FORCE
29 $(info [*] MAKE $@)
30 $(Q)$(MAKE) --no-print-directory -C crack5opencl $(patsubst crack5opencl/%,%,$@) DESTDIR=$(MYDESTDIR)
32 FORCE: # Dummy target to force remake in the subdirectories, even if files exist (this Makefile doesn't know about the prerequisites)
34 .phony: crack2 crack3 crack4 crack5 crack5gpu crack5opencl FORCE