fix warnings

This commit is contained in:
Danya Berezun 2023-09-04 21:44:26 +02:00
parent 9170b9c860
commit 17a7aa0116
5 changed files with 14 additions and 13 deletions

View file

@ -1,8 +1,10 @@
FLAGS=-no-pie -m32 -g2 -fstack-protector-all
all: byterun.o
$(CC) -m32 -g -o byterun byterun.o ../runtime/runtime.a
$(CC) $(FLAGS) -o byterun byterun.o ../runtime/runtime.a
byterun.o: byterun.c
$(CC) -g -fstack-protector-all -m32 -c byterun.c
$(CC) $(FLAGS) -g -c byterun.c
clean:
$(RM) *.a *.o *~
$(RM) *.a *.o *~ byterun