From a4a321028023cb9d65d533adaa3b6c2c3b49eee2 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Thu, 13 Dec 2012 10:30:09 -0800 Subject: Renaming src/mcpat -> src/gpuwattch [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14798] --- src/gpuwattch/makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/gpuwattch/makefile (limited to 'src/gpuwattch/makefile') diff --git a/src/gpuwattch/makefile b/src/gpuwattch/makefile new file mode 100644 index 0000000..ab718cc --- /dev/null +++ b/src/gpuwattch/makefile @@ -0,0 +1,35 @@ +TAR = mcpat + +.PHONY: dbg opt depend clean clean_dbg clean_opt + +all: opt + +dbg: $(TAR).mk obj_dbg + @$(MAKE) TAG=dbg -C . -f $(TAR).mk + +opt: $(TAR).mk obj_opt + @$(MAKE) TAG=opt -C . -f $(TAR).mk + +obj_dbg: + mkdir $@ + +obj_opt: + mkdir $@ + +depend: + @$(MAKE) TAG=opt -C . -f $(TAR).mk depend + +clean: clean_dbg clean_opt clean_cacti + +clean_dbg: obj_dbg + @$(MAKE) TAG=dbg -C . -f $(TAR).mk clean + rm -rf $< + +clean_opt: obj_opt + @$(MAKE) TAG=opt -C . -f $(TAR).mk clean + rm -rf $< + +clean_cacti: cacti + rm -rf cacti/obj_opt + + -- cgit v1.3