Added make test, which uses -Wextra, and doesn't use -Werror.

This commit is contained in:
Jacob 2016-04-27 22:29:16 -04:00
parent 29e74799e3
commit 88240dab06

View File

@ -20,6 +20,9 @@ tracegen: tracegen.c trans.o cachelab.c
trans.o: trans.c trans.o: trans.c
$(CC) $(CFLAGS) -O0 -c 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 # Clean the src dirctory
# #