1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-23 21:02:27 +00:00

Merge pull request #1832 from Naufragous/hash-mode-plugin

Add Makefile target 'modules'
This commit is contained in:
Jens Steube 2018-12-19 14:45:00 +01:00 committed by GitHub
commit 33e9ffc24e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -16,5 +16,6 @@ hashcat.dll
*.dSYM
kernels/**
lib/*.a
modules/*.so
obj/*.o
include/CL

View File

@ -540,10 +540,13 @@ endif
##
MODULE_DEPEND := src/bitops.c src/convert.c src/interface.c src/shared.c
MODULES_SRC := $(wildcard modules/*.c)
MODULES := $(patsubst %.c, %.so, $(MODULES_SRC))
modules/module_%.so: modules/module_%.c
$(CC) $(CFLAGS_NATIVE) $< -o $@ -shared -fPIC $(MODULE_DEPEND)
modules: $(MODULES)
##
## cross compiled hashcat