compiler switch for c99

This commit is contained in:
John Jones 2017-03-21 14:23:31 +00:00
parent 19e32f9416
commit b1845aad5f
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -O0 -g3 -Wall CFLAGS = -O0 -g3 -Wall -std=c99
LFLAGS = LFLAGS =
DEPS = protobuf.h DEPS = protobuf.h
OBJS = protobuf.o varint.o OBJS = protobuf.o varint.o
@ -21,4 +21,4 @@ clean:
rm -f protobuf_reader; rm -f protobuf_reader;
cd test; make clean; cd test; make clean;
rebuild: clean all rebuild: clean all

View file

@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -O0 -g3 -Wall -I../ CFLAGS = -O0 -g3 -Wall -I../ -std=c99
LFLAGS = LFLAGS =
DEPS = ../protobuf.h DEPS = ../protobuf.h
OBJS = testit.o ../protobuf.o ../varint.o Test1_protobuf.o Test2_protobuf.o Test3_protobuf.o OBJS = testit.o ../protobuf.o ../varint.o Test1_protobuf.o Test2_protobuf.o Test3_protobuf.o
@ -16,4 +16,4 @@ clean:
rm -f *.o rm -f *.o
rm -f test_protobuf rm -f test_protobuf
rebuild: clean all rebuild: clean all