summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-04 11:28:28 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-04 11:28:28 -0700
commit421f276086dfc4d1df7411820f9d56f3ae78472e (patch)
treefaeb5610d6a4053c6223559fd72f4e70fbacf585 /Makefile
parent94a2f5bd9c476c7860c412b434b535f472c9a701 (diff)
Beginnings of a upb compiler.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 08c56cf..3e60c72 100644
--- a/Makefile
+++ b/Makefile
@@ -5,13 +5,14 @@ CXX=g++
CFLAGS=-std=c99
CPPFLAGS=-O0 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer
OBJ=upb_parse.o upb_table.o upb_msg.o upb_enum.o upb_context.o descriptor.o
-all: $(OBJ) test_table tests
+all: $(OBJ) test_table tests upbc
clean:
rm -f *.o test_table tests
libupb.a: $(OBJ)
ar rcs libupb.a $(OBJ)
test_table: libupb.a
+upbc: libupb.a
-include deps
deps: *.c *.h
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback