Added make test, which uses -Wextra, and doesn't use -Werror.
This commit is contained in:
parent
29e74799e3
commit
88240dab06
3
Makefile
3
Makefile
@ -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
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user