summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-07 18:20:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-07 18:20:42 +0300
commit88ad4c20524c7d338b9514934dfc72cfbf611f6b (patch)
tree565255282b517b32953983008606e8d1a9b2680a /test/Makefile
parent736c29dbf42250e8e4d1aab7953ddb57742ba67d (diff)
downloadparanucker-88ad4c20524c7d338b9514934dfc72cfbf611f6b.tar.gz
paranucker-88ad4c20524c7d338b9514934dfc72cfbf611f6b.tar.bz2
paranucker-88ad4c20524c7d338b9514934dfc72cfbf611f6b.tar.xz
paranucker-88ad4c20524c7d338b9514934dfc72cfbf611f6b.zip
Improve a bit make files.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 87da8a7..6a85c35 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -5,12 +5,14 @@ CC := gcc-5
CXX := g++-5
PLUGIN = ../build/src/.libs/astdumper.so
-CMD = ${CXX} -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} 2>../${3}
+CMD = ${CXX} -fplugin=${PLUGIN} -fplugin-arg-astdumper-command=${1} ${2} -o a.out 2>../${3}
-all: test1 clean
+all: test1 test2 clean
clean:
@rm a.out 2>/dev/null || true
test1:
$(call CMD,dump,test1.c,test.txt)
+test2:
+ $(call CMD,dump,test2.h,test2.txt)