summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-05-16 16:56:54 -0400
committertgrogers <[email protected]>2017-05-17 09:53:03 -0400
commit8b44f564221b9a0503ca04ccdb463bd60ae8c33c (patch)
tree8653aeee6c56b2fc666f267013845724a3e54799 /Makefile
parent196703487e33ec383dab2a0cededb2289e342083 (diff)
Fixing a bug with where the build version is made. Moveing it after the right directories ect are defined
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 78ef892..7a7b187 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ ifneq ($(shell which nvcc), "")
endif
endif
+
+$(shell mkdir -p $(SIM_OBJ_FILES_DIR)/libcuda && echo "const char *g_gpgpusim_build_string=\"$(GPGPUSIM_BUILD)\";" > $(SIM_OBJ_FILES_DIR)/detailed_version)
+
LIBS = cuda-sim gpgpu-sim_uarch $(INTERSIM) gpgpusimlib