From 689be9356fee79baf6bdd6013cf47fa91855e5c3 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Fri, 8 Apr 2016 16:39:20 +0800 Subject: [PATCH] haskell: rename TMPDIR in bindings/Makefile to TMP_DIR --- bindings/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bindings/Makefile b/bindings/Makefile index d5d58c5d..72c4306a 100644 --- a/bindings/Makefile +++ b/bindings/Makefile @@ -1,15 +1,15 @@ # Unicorn Engine # By Nguyen Anh Quynh & Dang Hoang Vu, 2015 -TMPDIR = /tmp/unicorn_sample +TMP_DIR = /tmp/unicorn_sample DIFF = diff -u -w -SAMPLE_ARM = $(TMPDIR)/sample_arm -SAMPLE_ARM64 = $(TMPDIR)/sample_arm64 -SAMPLE_MIPS = $(TMPDIR)/sample_mips -SAMPLE_M68K = $(TMPDIR)/sample_m68k -SAMPLE_SPARC = $(TMPDIR)/sample_sparc -SAMPLE_X86 = $(TMPDIR)/sample_x86 +SAMPLE_ARM = $(TMP_DIR)/sample_arm +SAMPLE_ARM64 = $(TMP_DIR)/sample_arm64 +SAMPLE_MIPS = $(TMP_DIR)/sample_mips +SAMPLE_M68K = $(TMP_DIR)/sample_m68k +SAMPLE_SPARC = $(TMP_DIR)/sample_sparc +SAMPLE_X86 = $(TMP_DIR)/sample_x86 .PHONY: all expected python @@ -26,7 +26,7 @@ sample_python: expected python expected: cd ../samples && $(MAKE) - mkdir -p $(TMPDIR) + mkdir -p $(TMP_DIR) ../samples/sample_arm > $(SAMPLE_ARM)_e ../samples/sample_arm64 > $(SAMPLE_ARM64)_e ../samples/sample_mips > $(SAMPLE_MIPS)_e @@ -53,7 +53,7 @@ sample_diff: FORCE $(DIFF) $(SAMPLE_X86)_e $(SAMPLE_X86)_o clean: - rm -rf $(TMPDIR) + rm -rf $(TMP_DIR) cd python && $(MAKE) clean cd haskell && cabal clean