blob: b2af7b593cef8fa0ee3f756e45de3419648cd261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.PHONY: all clean
CC=gcc
CXX=g++
CFLAGS=-std=c99
CPPFLAGS=-O3 -DNDEBUG -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer
OBJ=upb_parse.o upb_table.o upb_msg.o upb_context.o descriptor.o
all: $(OBJ) test_table tests
clean:
rm -f $(OBJ) tests
-include deps
deps: *.c *.h
gcc -MM *.c > deps
|