16 lines
229 B
Makefile
16 lines
229 B
Makefile
|
.DEFAULT_GOAL := run
|
||
|
|
||
|
copyMemtrace:
|
||
|
rm mem_trace.txt
|
||
|
cp mem_trace2.txt mem_trace.txt
|
||
|
|
||
|
install: copyMemtrace
|
||
|
gcc cache_sim.c -o cache_sim
|
||
|
chmod +x cache_sim
|
||
|
|
||
|
run: install
|
||
|
./cache_sim 2048 dm sc
|
||
|
|
||
|
test: install
|
||
|
python test.py
|