2015-12-04 14:47:52 +00:00
|
|
|
##
|
2016-01-20 19:55:09 +00:00
|
|
|
## Authors.....: Jens Steube <jens.steube@gmail.com>
|
|
|
|
## Gabriele Gristina <matrix@hashcat.net>
|
|
|
|
##
|
2015-12-04 14:47:52 +00:00
|
|
|
## License.....: MIT
|
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
PROG_NAME := oclHashcat
|
|
|
|
|
|
|
|
##
|
|
|
|
## Detect Operating System
|
|
|
|
##
|
|
|
|
|
|
|
|
UNAME := $(shell uname -s)
|
|
|
|
|
|
|
|
ifeq (,$(filter $(UNAME),Linux Darwin))
|
|
|
|
$(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile")
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(DEBUG),1)
|
|
|
|
$(warning "## Detected Operating System : $(UNAME)")
|
|
|
|
endif
|
|
|
|
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
## Makefile flags
|
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
MAKEFLAGS += -l -j -rR --no-print-directory
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
|
2016-01-20 19:55:09 +00:00
|
|
|
MAKEFLAGS += -j 1
|
2015-12-04 14:47:52 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
##
|
2015-12-13 11:21:36 +00:00
|
|
|
## Installation paths (Linux only)
|
|
|
|
##
|
|
|
|
|
2016-01-02 23:40:31 +00:00
|
|
|
PREFIX ?= /usr/local
|
2015-12-13 11:21:36 +00:00
|
|
|
|
2016-01-02 23:40:31 +00:00
|
|
|
INSTALL_FOLDER ?= $(PREFIX)/bin
|
2016-01-20 19:55:09 +00:00
|
|
|
SHARED_FOLDER ?= $(PREFIX)/share/$(PROG_NAME)
|
|
|
|
DOCUMENT_FOLDER ?= $(PREFIX)/share/doc/$(PROG_NAME)
|
2015-12-13 11:21:36 +00:00
|
|
|
|
|
|
|
##
|
2016-01-20 19:55:09 +00:00
|
|
|
## Dependencies
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
|
2015-12-09 14:55:06 +00:00
|
|
|
NVAPI := deps/R352-developer
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2015-12-15 17:58:02 +00:00
|
|
|
##
|
2016-01-20 19:55:09 +00:00
|
|
|
## Dependencies, cross compilation only
|
2015-12-15 17:58:02 +00:00
|
|
|
##
|
|
|
|
|
2016-01-03 12:17:14 +00:00
|
|
|
OPENCL_HEADERS_KHRONOS := deps/OpenCL-Headers
|
|
|
|
|
|
|
|
##
|
|
|
|
## Library paths
|
|
|
|
##
|
2015-12-15 17:58:02 +00:00
|
|
|
|
2015-12-15 18:18:45 +00:00
|
|
|
NVML := $(GDK)/usr/include/nvidia/gdk
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
##
|
|
|
|
## Check dependencies
|
|
|
|
##
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
WITH_ADL := 1
|
|
|
|
WITH_NVML := 1
|
2016-01-20 19:55:09 +00:00
|
|
|
FOUND_NVAPI := 0
|
|
|
|
|
|
|
|
ifneq ($(wildcard $(NVAPI)/nvapi.h),)
|
|
|
|
FOUND_NVAPI := 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(DEBUG),1)
|
2016-01-24 16:08:49 +00:00
|
|
|
$(warning "## NVAPI is found ? $(FOUND_NVAPI)")
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
|
2016-01-02 16:42:47 +00:00
|
|
|
##
|
|
|
|
## Native compiler paths
|
|
|
|
##
|
|
|
|
|
|
|
|
CP := cp
|
2016-01-02 23:40:31 +00:00
|
|
|
RM := rm
|
|
|
|
INSTALL := install
|
|
|
|
|
2016-01-15 16:24:51 +00:00
|
|
|
CC_NATIVE := gcc
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
##
|
2016-01-02 16:42:47 +00:00
|
|
|
## Cross compiler paths
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
CC_LINUX_32 := gcc
|
|
|
|
CC_LINUX_64 := gcc
|
|
|
|
|
|
|
|
CC_WIN_32 := i686-w64-mingw32-gcc
|
|
|
|
CC_WIN_64 := x86_64-w64-mingw32-gcc
|
|
|
|
|
|
|
|
DLL_WIN_32 := i686-w64-mingw32-dlltool
|
|
|
|
DLL_WIN_64 := x86_64-w64-mingw32-dlltool
|
|
|
|
|
|
|
|
##
|
|
|
|
## Misc stuff
|
|
|
|
##
|
|
|
|
|
2016-01-21 09:17:22 +00:00
|
|
|
COMPTIME := $(shell date +%s)
|
|
|
|
VERSION_TAG := $(shell git describe --tags --dirty=+ | cut -d- -f1)
|
|
|
|
VERSION_SUM := $(shell git describe --tags --dirty=+ | cut -d- -f3)
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## Compiler flags
|
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS := -O2 -pipe -W -Wall -std=c99 -Iinclude/
|
|
|
|
|
|
|
|
ifeq ($(DEBUG),1)
|
2016-01-24 21:48:01 +00:00
|
|
|
CFLAGS += -DDEBUG -g -ggdb -fsanitize=address -fno-omit-frame-pointer
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
2016-01-03 12:17:14 +00:00
|
|
|
|
2016-01-03 17:50:02 +00:00
|
|
|
##
|
|
|
|
## Native compilation target
|
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
BINARY_NATIVE := $(PROG_NAME)
|
|
|
|
|
|
|
|
ifeq ($(UNAME),Darwin)
|
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
|
|
|
|
|
|
BINARY_NATIVE := $(PROG_NAME).app
|
|
|
|
|
|
|
|
CFLAGS_NATIVE := -D_POSIX -DOSX
|
2016-01-03 12:17:14 +00:00
|
|
|
CFLAGS_NATIVE += $(CFLAGS)
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-26 20:40:49 +00:00
|
|
|
LFLAGS_NATIVE := -lpthread
|
2016-01-20 19:55:09 +00:00
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
WITH_ADL := 0
|
|
|
|
WITH_NVML := 0
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(UNAME),Linux)
|
|
|
|
CFLAGS_NATIVE := -D_POSIX -DLINUX
|
|
|
|
CFLAGS_NATIVE += -s $(CFLAGS)
|
|
|
|
|
2016-01-26 20:40:49 +00:00
|
|
|
LFLAGS_NATIVE := -lpthread -ldl
|
2016-01-20 19:55:09 +00:00
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifneq (,$(filter 1,$(WITH_ADL) $(WITH_NVML)))
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS_NATIVE += -DHAVE_HWMON
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_ADL),1)
|
|
|
|
CFLAGS_NATIVE += -DHAVE_ADL
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_NVML),1)
|
|
|
|
CFLAGS_NATIVE += -DHAVE_NVML
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
2016-01-03 17:50:02 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## Cross compilation target
|
|
|
|
##
|
|
|
|
|
2016-01-03 12:17:14 +00:00
|
|
|
CFLAGS_CROSS_LINUX := -D_POSIX -DLINUX
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS_CROSS_LINUX += -s $(CFLAGS)
|
2016-01-03 17:50:02 +00:00
|
|
|
CFLAGS_CROSS_LINUX += -I$(OPENCL_HEADERS_KHRONOS)/
|
2016-01-20 19:55:09 +00:00
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifneq (,$(filter 1,$(WITH_ADL) $(WITH_NVML)))
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS_CROSS_LINUX += -DHAVE_HWMON
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_ADL),1)
|
|
|
|
CFLAGS_CROSS_LINUX += -DHAVE_ADL
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_NVML),1)
|
|
|
|
CFLAGS_CROSS_LINUX += -DHAVE_NVML
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
endif
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-03 12:17:14 +00:00
|
|
|
CFLAGS_CROSS_WIN := -D_WIN -DWIN -D__MSVCRT__ -D__USE_MINGW_ANSI_STDIO=1
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS_CROSS_WIN += -s $(filter-out -fsanitize=address,$(CFLAGS))
|
2016-01-03 17:50:02 +00:00
|
|
|
CFLAGS_CROSS_WIN += -I$(OPENCL_HEADERS_KHRONOS)/
|
2016-01-20 19:55:09 +00:00
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifneq (,$(filter 1,$(WITH_ADL) $(FOUND_NVAPI)))
|
2016-01-20 19:55:09 +00:00
|
|
|
CFLAGS_CROSS_WIN += -DHAVE_HWMON
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_ADL),1)
|
|
|
|
CFLAGS_CROSS_WIN += -DHAVE_ADL
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(FOUND_NVAPI),1)
|
2016-01-27 12:47:19 +00:00
|
|
|
CFLAGS_CROSS_WIN += -DHAVE_NVAPI
|
2016-01-20 19:55:09 +00:00
|
|
|
endif
|
|
|
|
endif
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-03 12:17:14 +00:00
|
|
|
CFLAGS_CROSS_32 := -m32
|
|
|
|
CFLAGS_CROSS_64 := -m64
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-26 20:40:49 +00:00
|
|
|
LFLAGS_CROSS_LINUX := -lpthread -ldl
|
2016-01-03 12:17:14 +00:00
|
|
|
LFLAGS_CROSS_WIN := -lpsapi
|
2016-01-02 16:42:47 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
##
|
|
|
|
## Objects
|
|
|
|
##
|
|
|
|
|
|
|
|
NATIVE_OBJS := obj/ext_OpenCL.NATIVE.o obj/shared.NATIVE.o obj/rp_kernel_on_cpu.NATIVE.o
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifneq (,$(filter 1,$(WITH_ADL) $(WITH_NVML)))
|
|
|
|
ifeq ($(WITH_ADL),1)
|
2016-01-20 19:55:09 +00:00
|
|
|
NATIVE_OBJS += obj/ext_ADL.NATIVE.o
|
|
|
|
endif
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_NVML),1)
|
2016-01-20 19:55:09 +00:00
|
|
|
NATIVE_OBJS += obj/ext_nvml.NATIVE.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
LINUX_32_OBJS := obj/ext_OpenCL.LINUX.32.o obj/shared.LINUX.32.o obj/rp_kernel_on_cpu.LINUX.32.o
|
|
|
|
LINUX_64_OBJS := obj/ext_OpenCL.LINUX.64.o obj/shared.LINUX.64.o obj/rp_kernel_on_cpu.LINUX.64.o
|
|
|
|
|
|
|
|
WIN_32_OBJS := obj/ext_OpenCL.WIN.32.o obj/shared.WIN.32.o obj/rp_kernel_on_cpu.WIN.32.o
|
|
|
|
WIN_64_OBJS := obj/ext_OpenCL.WIN.64.o obj/shared.WIN.64.o obj/rp_kernel_on_cpu.WIN.64.o
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_ADL),1)
|
2016-01-20 19:55:09 +00:00
|
|
|
LINUX_32_OBJS += obj/ext_ADL.LINUX.32.o
|
|
|
|
LINUX_64_OBJS += obj/ext_ADL.LINUX.64.o
|
|
|
|
|
|
|
|
WIN_32_OBJS += obj/ext_ADL.WIN.32.o
|
|
|
|
WIN_64_OBJS += obj/ext_ADL.WIN.64.o
|
|
|
|
endif
|
|
|
|
|
2016-01-27 12:47:19 +00:00
|
|
|
ifeq ($(WITH_NVML),1)
|
2016-01-20 19:55:09 +00:00
|
|
|
LINUX_32_OBJS += obj/ext_nvml.LINUX.32.o
|
|
|
|
LINUX_64_OBJS += obj/ext_nvml.LINUX.64.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(FOUND_NVAPI),1)
|
|
|
|
WIN_32_OBJS += obj/ext_nvapi.WIN.32.o $(NVAPI)/x86/nvapi.lib
|
|
|
|
WIN_64_OBJS += obj/ext_nvapi.WIN.64.o $(NVAPI)/amd64/nvapi64.lib
|
|
|
|
endif
|
|
|
|
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
## Targets: Global
|
|
|
|
##
|
|
|
|
|
2016-01-02 16:42:47 +00:00
|
|
|
native: oclHashcat
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-02 16:42:47 +00:00
|
|
|
binaries: linux32 linux64 win32 win64
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-02 16:42:47 +00:00
|
|
|
clean:
|
2016-01-20 19:55:09 +00:00
|
|
|
$(RM) -f obj/*.o lib/*.a *.bin *.exe *.app *.restore *.out *.pot *.dictstat *.log oclHashcat core
|
2016-01-02 23:40:31 +00:00
|
|
|
$(RM) -rf *.induct
|
|
|
|
$(RM) -rf *.outfiles
|
2016-01-20 19:55:09 +00:00
|
|
|
$(RM) -rf *.dSYM
|
2016-01-13 17:16:56 +00:00
|
|
|
$(RM) -rf kernels
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
linux32: oclHashcat32.bin
|
|
|
|
linux64: oclHashcat64.bin
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
win32: oclHashcat32.exe
|
|
|
|
win64: oclHashcat64.exe
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2015-12-13 11:21:36 +00:00
|
|
|
##
|
|
|
|
## Targets: Linux install
|
|
|
|
## How to make /usr/bin/install doing recursive??
|
|
|
|
##
|
|
|
|
|
2016-01-02 16:42:47 +00:00
|
|
|
install: native
|
2016-01-03 00:48:05 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DOCUMENT_FOLDER)
|
|
|
|
$(CP) -a docs/* $(DOCUMENT_FOLDER)/
|
2016-01-03 21:01:02 +00:00
|
|
|
$(CP) -a example*.sh $(DOCUMENT_FOLDER)/
|
2016-01-03 22:29:39 +00:00
|
|
|
$(CP) -a example*.hash $(DOCUMENT_FOLDER)/
|
|
|
|
$(INSTALL) -m 644 example.dict $(DOCUMENT_FOLDER)/
|
2016-01-03 00:48:05 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DOCUMENT_FOLDER)/extra
|
|
|
|
$(CP) -a extra/* $(DOCUMENT_FOLDER)/extra/
|
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)
|
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)/charsets
|
|
|
|
$(CP) -a charsets/* $(SHARED_FOLDER)/charsets/
|
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)/masks
|
|
|
|
$(CP) -a masks/* $(SHARED_FOLDER)/masks/
|
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)/include
|
|
|
|
$(INSTALL) -m 644 include/constants.h $(SHARED_FOLDER)/include/
|
|
|
|
$(INSTALL) -m 644 include/kernel_functions.c $(SHARED_FOLDER)/include/
|
|
|
|
$(INSTALL) -m 644 include/kernel_vendor.h $(SHARED_FOLDER)/include/
|
2016-01-20 19:55:09 +00:00
|
|
|
$(INSTALL) -m 644 include/rp_kernel.h $(SHARED_FOLDER)/include/
|
2016-01-03 00:48:05 +00:00
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)/OpenCL
|
|
|
|
$(CP) -a OpenCL/* $(SHARED_FOLDER)/OpenCL/
|
|
|
|
$(INSTALL) -m 755 -d $(SHARED_FOLDER)/rules
|
|
|
|
$(CP) -a rules/* $(SHARED_FOLDER)/rules/
|
|
|
|
$(INSTALL) -m 644 hashcat.hcstat $(SHARED_FOLDER)/
|
2016-01-20 19:55:09 +00:00
|
|
|
$(INSTALL) -m 755 $(BINARY_NATIVE) $(INSTALL_FOLDER)/
|
2015-12-13 11:21:36 +00:00
|
|
|
|
|
|
|
uninstall:
|
2016-01-20 19:55:09 +00:00
|
|
|
$(RM) -f $(INSTALL_FOLDER)/$(BINARY_NATIVE)
|
2015-12-13 11:21:36 +00:00
|
|
|
$(RM) -rf $(SHARED_FOLDER)
|
|
|
|
$(RM) -rf $(DOCUMENT_FOLDER)
|
|
|
|
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
## Targets: Libraries
|
|
|
|
##
|
|
|
|
|
|
|
|
lib/libOpenCL.a:
|
2016-01-20 19:55:09 +00:00
|
|
|
$(DLL_WIN_32) -A -k -l lib/libOpenCL.a -d lib/OpenCL.def
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
lib/libOpenCL64.a:
|
2016-01-20 19:55:09 +00:00
|
|
|
$(DLL_WIN_64) -A -k -l lib/libOpenCL64.a -d lib/OpenCL64.def
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
##
|
2016-01-02 16:42:47 +00:00
|
|
|
## native compiled oclHashcat
|
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
obj/%.NATIVE.o: src/%.c
|
2016-01-03 12:17:14 +00:00
|
|
|
$(CC_NATIVE) $(CFLAGS_NATIVE) -c -o $@ $<
|
2016-01-02 16:42:47 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
oclHashcat: src/oclHashcat.c $(NATIVE_OBJS)
|
2016-01-21 09:22:57 +00:00
|
|
|
$(CC_NATIVE) $(CFLAGS_NATIVE) -o $(BINARY_NATIVE) $^ $(LFLAGS_NATIVE) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DVERSION_SUM=\"$(VERSION_SUM)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
|
2016-01-02 16:42:47 +00:00
|
|
|
|
|
|
|
##
|
2016-01-03 12:17:14 +00:00
|
|
|
## cross compiled oclHashcat for binary release version
|
2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
obj/%.LINUX.32.o: src/%.c
|
|
|
|
$(CC_LINUX_32) $(CFLAGS_CROSS_LINUX) $(CFLAGS_CROSS_32) -c -o $@ $<
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
obj/%.LINUX.64.o: src/%.c
|
|
|
|
$(CC_LINUX_64) $(CFLAGS_CROSS_LINUX) $(CFLAGS_CROSS_64) -c -o $@ $<
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
obj/%.WIN.32.o: src/%.c
|
|
|
|
$(CC_WIN_32) $(CFLAGS_CROSS_WIN) $(CFLAGS_CROSS_32) -c -o $@ $<
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
obj/%.WIN.64.o: src/%.c
|
|
|
|
$(CC_WIN_64) $(CFLAGS_CROSS_WIN) $(CFLAGS_CROSS_64) -c -o $@ $<
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
oclHashcat32.bin: src/oclHashcat.c $(LINUX_32_OBJS)
|
2016-01-21 09:22:57 +00:00
|
|
|
$(CC_LINUX_32) $(CFLAGS_CROSS_LINUX) $(CFLAGS_CROSS_32) -o $@ $^ $(LFLAGS_CROSS_LINUX) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DVERSION_SUM=\"$(VERSION_SUM)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-20 19:55:09 +00:00
|
|
|
oclHashcat64.bin: src/oclHashcat.c $(LINUX_64_OBJS)
|
2016-01-21 09:22:57 +00:00
|
|
|
$(CC_LINUX_64) $(CFLAGS_CROSS_LINUX) $(CFLAGS_CROSS_64) -o $@ $^ $(LFLAGS_CROSS_LINUX) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DVERSION_SUM=\"$(VERSION_SUM)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-26 20:40:49 +00:00
|
|
|
oclHashcat32.exe: src/oclHashcat.c $(WIN_32_OBJS)
|
2016-01-21 09:22:57 +00:00
|
|
|
$(CC_WIN_32) $(CFLAGS_CROSS_WIN) $(CFLAGS_CROSS_32) -o $@ $^ $(LFLAGS_CROSS_WIN) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DVERSION_SUM=\"$(VERSION_SUM)\" -static-libgcc
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-26 20:40:49 +00:00
|
|
|
oclHashcat64.exe: src/oclHashcat.c $(WIN_64_OBJS)
|
2016-01-21 09:22:57 +00:00
|
|
|
$(CC_WIN_64) $(CFLAGS_CROSS_WIN) $(CFLAGS_CROSS_64) -o $@ $^ $(LFLAGS_CROSS_WIN) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DVERSION_SUM=\"$(VERSION_SUM)\" -static-libgcc
|