projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed13c5
)
updated rp_gpu_on_cpu rules test script, we do not need the cpp extension anymore
author
philsmd
<philsmd@hashcat.net>
Sun, 3 Jan 2016 19:15:52 +0000
(20:15 +0100)
committer
philsmd
<philsmd@hashcat.net>
Sun, 3 Jan 2016 19:15:52 +0000
(20:15 +0100)
tools/rules_test/Makefile
patch
|
blob
|
history
diff --git
a/tools/rules_test/Makefile
b/tools/rules_test/Makefile
index
d45e492
..
9a5993b
100644
(file)
--- a/
tools/rules_test/Makefile
+++ b/
tools/rules_test/Makefile
@@
-5,12
+5,12
@@
GCC := /usr/bin/x86_64-linux-gnu-gcc-4.6
ROOT := ../../
-CFLAGS := -O2 -s -ansi -pipe -W -Wall -I$(ROOT)include/
+CFLAGS := -O2 -s -ansi -pipe -W -Wall -std=c99 -I$(ROOT)include/
LIBS :=
TARGET := gpu2cpu_rule_test
-INCLUDE := $(ROOT)src/rp_gpu_on_cpu.cpp cpu_rules.cpp
+INCLUDE := $(ROOT)src/rp_gpu_on_cpu.c cpu_rules.c
-all: ${TARGET}.cpp
+all: ${TARGET}.c
${GCC} ${CFLAGS} ${INCLUDE} $< -o ${TARGET}.bin ${LIBS}
clean: