gem5/ext/mcpat/cacti/makefile
Anthony Gutierrez e553a7bfa7 ext: add McPAT source
this patch adds the source for mcpat, a power, area, and timing modeling
framework.
2014-04-01 12:44:30 -04:00

28 lines
407 B
Makefile

TAR = cacti
.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 $@
clean: clean_dbg clean_opt
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 $<