TDT4258/ex2/Makefile

16 lines
229 B
Makefile
Raw Normal View History

2022-12-19 18:06:38 +01:00
.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