aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator/test/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-12-16 13:31:54 +0000
committerbloodstalker <thabogre@gmail.com>2017-12-16 13:31:54 +0000
commit453ccbcb228b7f39adf087bfe955c770e4640f64 (patch)
tree730b6b5fbcf8e7aaf65df822ac2c8c70417f3dd2 /obfuscator/test/makefile
parentwip, added methods for dealing with filename changes to obfuscator (diff)
downloadmutator-453ccbcb228b7f39adf087bfe955c770e4640f64.tar.gz
mutator-453ccbcb228b7f39adf087bfe955c770e4640f64.zip
obfuscator should handle macro expansions just fine now, also there was no rewriter for macro expansion so added one and added a test folder for obfuscator, also added a new method for getting the spellingloc to aux methods
Diffstat (limited to 'obfuscator/test/makefile')
-rw-r--r--obfuscator/test/makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/obfuscator/test/makefile b/obfuscator/test/makefile
new file mode 100644
index 0000000..1b0859b
--- /dev/null
+++ b/obfuscator/test/makefile
@@ -0,0 +1,24 @@
+BRUISER_TEST=test
+CXX?=clang++
+# you should change the include path to one that is right for you
+CXX_FLAGS=-I/usr/lib/gcc/x86_64-redhat-linux/6.3.1/include
+
+.DEFAULT:all clean
+
+.PHONY:all clean $(BRUISER_TEST) help
+
+all:$(BRUISER_TEST)
+
+.cpp.o:
+ $(CXX) $(CXX_FLAGS) -c $< -o $@
+
+$(BRUISER_TEST): test.o
+ $(CXX) $^ $(LD_FLAGS) -o $@
+
+clean:
+ rm -f *.o *~ $(BRUISER_TEST)
+
+help:
+ @echo "the makfile for the bruiser test file."
+ @echo "there is the taget itself, all and clean."
+