diff --git a/Makefile b/Makefile index c18db0f..7af2969 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ tracegen: tracegen.c trans.o cachelab.c trans.o: trans.c $(CC) $(CFLAGS) -O0 -c trans.c +test: csim.c cachelab.c cachelab.h + $(CC) -o csim csim.c cachelab.c -lm -g -Wall -Wextra -std=c99 + # # Clean the src dirctory #