compiler switch for c99
This commit is contained in:
parent
19e32f9416
commit
b1845aad5f
2 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -1,5 +1,5 @@
|
|||
CC = gcc
|
||||
CFLAGS = -O0 -g3 -Wall
|
||||
CFLAGS = -O0 -g3 -Wall -std=c99
|
||||
LFLAGS =
|
||||
DEPS = protobuf.h
|
||||
OBJS = protobuf.o varint.o
|
||||
|
@ -21,4 +21,4 @@ clean:
|
|||
rm -f protobuf_reader;
|
||||
cd test; make clean;
|
||||
|
||||
rebuild: clean all
|
||||
rebuild: clean all
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
CC = gcc
|
||||
CFLAGS = -O0 -g3 -Wall -I../
|
||||
CFLAGS = -O0 -g3 -Wall -I../ -std=c99
|
||||
LFLAGS =
|
||||
DEPS = ../protobuf.h
|
||||
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 test_protobuf
|
||||
|
||||
rebuild: clean all
|
||||
rebuild: clean all
|
||||
|
|
Loading…
Reference in a new issue