tests,alu-tests: fix errors reported by -Wall and -Werror

This commit is contained in:
Zihao Yu 2023-11-13 12:04:34 +08:00
parent 0bab7cb226
commit d918fc429f
2 changed files with 11 additions and 6 deletions

View file

@ -5,7 +5,7 @@ include $(AM_HOME)/Makefile
GENERATOR = build/gen_alu_test
$(GENERATOR): gen_alu_test.c
gcc -O2 $^ -o $@
gcc -O2 -Wall -Werror $^ -o $@
$(SRCS): $(GENERATOR)
$^ > $@